basic tensorflow test
This commit is contained in:
parent
4c8922270f
commit
770b74fe5f
|
@ -0,0 +1,7 @@
|
|||
xs = rand(Float32, 20)
|
||||
|
||||
d = Affine(20, 10)
|
||||
|
||||
dt = tf(d)
|
||||
|
||||
@test d(xs) ≈ dt(xs)
|
Loading…
Reference in New Issue