the most basic of tests
This commit is contained in:
parent
1c21a860e2
commit
51b572f709
|
@ -0,0 +1,5 @@
|
|||
xs = randn(10)' # TODO: batching semantics
|
||||
|
||||
d = Affine(10, 20)
|
||||
|
||||
@test d(xs) == xs*d.W.x + d.b.x
|
Loading…
Reference in New Issue