Safe Haskell | None |
---|---|
Language | Haskell2010 |
Conduit wrappers for TensorFlow.Records.
Synopsis
- encodeTFRecords :: Monad m => ConduitT ByteString ByteString m ()
- decodeTFRecords :: MonadThrow m => ConduitT ByteString ByteString m ()
- sinkTFRecords :: MonadResource m => FilePath -> ConduitT ByteString o m ()
- sourceTFRecords :: (MonadResource m, MonadThrow m) => FilePath -> ConduitT i ByteString m ()
Encode/Decode
encodeTFRecords :: Monad m => ConduitT ByteString ByteString m () Source #
Encode TFRecords to a stream of bytes.
decodeTFRecords :: MonadThrow m => ConduitT ByteString ByteString m () Source #
Decode TFRecords from a stream of bytes.
Source/Sink
sinkTFRecords :: MonadResource m => FilePath -> ConduitT ByteString o m () Source #
Write TFRecords to a file.
sourceTFRecords :: (MonadResource m, MonadThrow m) => FilePath -> ConduitT i ByteString m () Source #
Read TFRecords from a file.