We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627afab commit c5bfff9Copy full SHA for c5bfff9
tensorflow/src/TensorFlow/Types.hs
@@ -322,6 +322,8 @@ instance {-# OVERLAPPING #-} TensorDataType V.Vector ByteString where
322
-- at each element offset:
323
-- string length :: VarInt64
324
-- string data :: [Word8]
325
+ -- TODO: According to the v2.4.0 release notes, the byte layout for string
326
+ -- tensors has been changed to a contiguous array of TF_TStrings.
327
decodeTensorData tensorData =
328
either (\err -> error $ "Malformed TF_STRING tensor; " ++ err) id $
329
if expected /= count
0 commit comments