1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-26 21:09:44 +01:00

test actually demonstrates fix.

This commit is contained in:
silky 2016-12-23 11:22:37 +11:00
parent 29499776ad
commit d9ecd55438

View file

@ -114,7 +114,8 @@ testInitializedVariableShape =
vector <- build $ do
a <- initializedVariable (constant [1] [42 :: Float])
b <- initializedValue (identity a)
return b
c <- initializedVariable b
return c
result <- run vector
liftIO $ [42] @=? (result :: V.Vector Float)