1
0
mirror of https://github.com/tensorflow/haskell.git synced 2024-06-26 14:38:34 +02:00
tensorflow-haskell/docs/haddock/tensorflow-records-conduit-0.1.0.0/TensorFlow-Records-Conduit.html

4 lines
5.0 KiB
HTML
Raw Normal View History

2018-08-14 06:05:49 +02:00
<!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" /><title>TensorFlow.Records.Conduit</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();};
2017-04-08 16:14:47 +02:00
//]]>
2018-08-14 06:05:49 +02:00
</script></head><body><div id="package-header"><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><p class="caption">tensorflow-records-conduit-0.1.0.0: Conduit wrappers for TensorFlow.Records.</p></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"><p class="caption">Contents</p><ul><li><a href="#g:1">Encode/Decode</a></li><li><a href="#g:2">Source/Sink</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Conduit wrappers for TensorFlow.Records.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:encodeTFRecords">encodeTFRecords</a> :: <a href="../base-4.10.1.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; ConduitT <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="../bytestring-0.10.8.2/Data-ByteString.html#t:ByteString">ByteString</a> m ()</li><li class="src short"><a href="#v:decodeTFRecords">decodeTFRecords</a> :: MonadThrow m =&gt; ConduitT <a href="../bytestring-0.10.8.2/Data-ByteString.html#t:ByteString">ByteString</a> <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> m ()</li><li class="src short"><a href="#v:sinkTFRecords">sinkTFRecords</a> :: MonadResource m =&gt; <a href="../base-4.10.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; ConduitT <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> o m ()</li><li class="src short"><a href="#v:sourceTFRecords">sourceTFRecords</a> :: (MonadResource m, MonadThrow m) =&gt; <a href="../base-4.10.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; ConduitT i <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> m ()</li></ul></div><div id="interface"><h1 id="g:1">Encode/Decode</h1><div class="top"><p class="src"><a id="v:encodeTFRecords" class="def">encodeTFRecords</a> :: <a href="../base-4.10.1.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; ConduitT <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="../bytestring-0.10.8.2/Data-ByteString.html#t: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.8.2/Data-ByteString.html#t:ByteString">ByteString</a> <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">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><h1 id="g:2">Source/Sink</h1><div class="top"><p class="src"><a id="v:sinkTFRecords" class="def">sinkTFRecords</a> :: MonadResource m =&gt; <a href="../base-4.10.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; ConduitT <a href="../bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString">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.10.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; ConduitT i <a href="../bytestring-0.10.8.2/Data-ByteSt