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:
parent
29499776ad
commit
d9ecd55438
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue