source · imports ac: libs/Accel/src/Accel.xtl
ac:
w1 ← 4 5 r̲eshape n̲umbers ⎕N̲GET "../data/w1.txt"
w2 ← 6 2 r̲eshape n̲umbers ⎕N̲GET "../data/w2.txt"
x ← 4 3 r̲eshape 0.5 -1.0 0.25 1.0 0.0 -0.5 -0.75 0.5 1.0 0.2 0.4 -0.6
h ← ᵃᶜr̲elu x ᵃᶜd̲ense w1
p ← ᵃᶜs̲oftmax h ᵃᶜd̲ense w2