basic tensorflow test

This commit is contained in:
Mike J Innes 2017-01-25 17:03:58 +05:30
parent 4c8922270f
commit 770b74fe5f
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
xs = rand(Float32, 20)
d = Affine(20, 10)
dt = tf(d)
@test d(xs) dt(xs)