mirror of
https://github.com/tensorflow/haskell.git
synced 2024-07-06 19:33:29 +02:00
26 lines
778 B
Plaintext
26 lines
778 B
Plaintext
-- Hoogle documentation, generated by Haddock
|
|
-- See Hoogle, http://www.haskell.org/hoogle/
|
|
|
|
|
|
-- | Conduit wrappers for TensorFlow.Records.
|
|
--
|
|
-- Conduit wrappers for TensorFlow.Records.
|
|
@package tensorflow-records-conduit
|
|
@version 0.1.0.0
|
|
|
|
|
|
-- | Conduit wrappers for TensorFlow.Records.
|
|
module TensorFlow.Records.Conduit
|
|
|
|
-- | Encode TFRecords to a stream of bytes.
|
|
encodeTFRecords :: Monad m => Conduit ByteString m ByteString
|
|
|
|
-- | Decode TFRecords from a stream of bytes.
|
|
decodeTFRecords :: MonadThrow m => Conduit ByteString m ByteString
|
|
|
|
-- | Write TFRecords to a file.
|
|
sinkTFRecords :: (MonadResource m) => FilePath -> Consumer ByteString m ()
|
|
|
|
-- | Read TFRecords from a file.
|
|
sourceTFRecords :: (MonadResource m, MonadThrow m) => FilePath -> Producer m ByteString
|