tensorflow-haskell/docs/haddock/tensorflow-records-conduit-.../TensorFlow-Records-Conduit....

1 line
5.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>TensorFlow.Records.Conduit</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">tensorflow-records-conduit-0.1.0.0: Conduit wrappers for TensorFlow.Records.</span><ul class="links" id="page-menu"><li><a href="src/TensorFlow.Records.Conduit.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">TensorFlow.Records.Conduit</p></div><div id="table-of-contents"><div id="contents-list"><p class="caption" onclick="window.scrollTo(0,0)">Contents</p><ul><li><a href="#g:1">Encode/Decode</a></li><li><a href="#g:2">Source/Sink</a></li></ul></div></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Conduit wrappers for TensorFlow.Records.</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:encodeTFRecords">encodeTFRecords</a> :: <a href="../base-4.13.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> m =&gt; ConduitT <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> m ()</li><li class="src short"><a href="#v:decodeTFRecords">decodeTFRecords</a> :: MonadThrow m =&gt; ConduitT <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> m ()</li><li class="src short"><a href="#v:sinkTFRecords">sinkTFRecords</a> :: MonadResource m =&gt; <a href="../base-4.13.0.0/System-IO.html#t:FilePath" title="System.IO">FilePath</a> -&gt; ConduitT <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> o m ()</li><li class="src short"><a href="#v:sourceTFRecords">sourceTFRecords</a> :: (MonadResource m, MonadThrow m) =&gt; <a href="../base-4.13.0.0/System-IO.html#t:FilePath" title="System.IO">FilePath</a> -&gt; ConduitT i <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> m ()</li></ul></details></div><div id="interface"><a href="#g:1" id="g:1"><h1>Encode/Decode</h1></a><div class="top"><p class="src"><a id="v:encodeTFRecords" class="def">encodeTFRecords</a> :: <a href="../base-4.13.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> m =&gt; ConduitT <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> m () <a href="src/TensorFlow.Records.Conduit.html#encodeTFRecords" class="link">Source</a> <a href="#v:encodeTFRecords" class="selflink">#</a></p><div class="doc"><p>Encode TFRecords to a stream of bytes.</p></div></div><div class="top"><p class="src"><a id="v:decodeTFRecords" class="def">decodeTFRecords</a> :: MonadThrow m =&gt; ConduitT <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> m () <a href="src/TensorFlow.Records.Conduit.html#decodeTFRecords" class="link">Source</a> <a href="#v:decodeTFRecords" class="selflink">#</a></p><div class="doc"><p>Decode TFRecords from a stream of bytes.</p></div></div><a href="#g:2" id="g:2"><h1>Source/Sink</h1></a><div class="top"><p class="src"><a id="v:sinkTFRecords" class="def">sinkTFRecords</a> :: MonadResource m =&gt; <a href="../base-4.13.0.0/System-IO.html#t:FilePath" title="System.IO">FilePath</a> -&gt; ConduitT <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> o m () <a href="src/TensorFlow.Records.Conduit.html#sinkTFRecords" class="link">Source</a> <a href="#v:sinkTFRecords" class="selflink">#</a></p><div class="doc"><p>Write TFRecords to a file.</p></div></div><div class="top"><p class="src"><a id="v:sourceTFRecords" class="def">sourceTFRecords</a> :: (MonadResource m, MonadThrow m) =&gt; <a href="../base-4.13.0.0/System-IO.html#t:FilePath" title="System.IO">FilePath</a> -&gt; ConduitT i <a href="../bytestring-0.10.10.1/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> m () <a href="src/TensorFlow.Records.Conduit.html#sourceTFRecords" class="link">Source</a> <a href="#v:sourceTFRecords" class="selflink">#</a></p><div class="doc"><p>Read TFRecords from a file.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.23.0</p></div></body></html>