/
demo.html
48 lines (40 loc) · 1.46 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: demo
title: Neuro
subtitle: Demo
---
<canvas id="view"></canvas>
<textarea id="input">
# output nodes ~ input nodes
h.1 ~ 1000x - 333
h.2 ~ -1000x - 333
h.3 ~ 1000y - 333
h.4 ~ -1000y - 333
c.1 ~ -1000h[1..4]
c.2 ~ 1000h[1..4] - 2000
out ~ -10c[1..2] + 1
# define layers
= x y
= h[1..4]
= c[1..2]
= out
</textarea>
<button id="load">Load</button>
<button id="step">Step</button>
<button id="run">Run</button>
<button id="stop">Stop</button>
<br />
<div id="log">
SyntaxError: Expected "*", "+", "[", "~", [ \t], [a-zA-Z0-9.], [a-zA-Z] or float but "\n" found.
</div>
<script src="https://raw.github.com/egonelbre/neuro/master/js/def.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/vector.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/canvas.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/grid.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/hudstack.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/neury.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/net.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/netgui.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/main.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/bindings.js"></script>
<script src="https://raw.github.com/egonelbre/neuro/master/js/buttons.js"></script>