1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-12-25 02:59:46 +01:00
tensorflow-haskell/docs/haddock/tensorflow-mnist-0.1.0.0/TensorFlow-Examples-MNIST-Parse.html
2016-10-31 14:22:48 -07:00

4 lines
No EOL
4.3 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" /><title>TensorFlow.Examples.MNIST.Parse</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-Examples-MNIST-Parse.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-mnist-0.1.0.0: TensorFlow demo application for learning MNIST model.</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.Examples.MNIST.Parse</p></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"><span class="keyword">type</span> <a href="#t:MNIST">MNIST</a> = Vector <a href="../base-4.8.2.0/Data-Word.html#t:Word8">Word8</a></li><li class="src short"><a href="#v:drawMNIST">drawMNIST</a> :: <a href="TensorFlow-Examples-MNIST-Parse.html#t:MNIST">MNIST</a> -&gt; Text</li><li class="src short"><a href="#v:checkEndian">checkEndian</a> :: <a href="../binary-0.7.5.0/Data-Binary-Get-Internal.html#t:Get">Get</a> ()</li><li class="src short"><a href="#v:readMNISTSamples">readMNISTSamples</a> :: <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="../base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="TensorFlow-Examples-MNIST-Parse.html#t:MNIST">MNIST</a>]</li><li class="src short"><a href="#v:readMNISTLabels">readMNISTLabels</a> :: <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="../base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="../base-4.8.2.0/Data-Word.html#t:Word8">Word8</a>]</li><li class="src short"><a href="#v:readMessageFromFileOrDie">readMessageFromFileOrDie</a> :: Message m =&gt; <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="../base-4.8.2.0/System-IO.html#t:IO">IO</a> m</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:MNIST" class="def">MNIST</a> = Vector <a href="../base-4.8.2.0/Data-Word.html#t:Word8">Word8</a></p><div class="doc"><p>Utilities specific to MNIST.</p></div></div><div class="top"><p class="src"><a name="v:drawMNIST" class="def">drawMNIST</a> :: <a href="TensorFlow-Examples-MNIST-Parse.html#t:MNIST">MNIST</a> -&gt; Text</p><div class="doc"><p>Produces a unicode rendering of the MNIST digit sample.</p></div></div><div class="top"><p class="src"><a name="v:checkEndian" class="def">checkEndian</a> :: <a href="../binary-0.7.5.0/Data-Binary-Get-Internal.html#t:Get">Get</a> ()</p><div class="doc"><p>Check's the file's endianess, throwing an error if it's not as expected.</p></div></div><div class="top"><p class="src"><a name="v:readMNISTSamples" class="def">readMNISTSamples</a> :: <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="../base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="TensorFlow-Examples-MNIST-Parse.html#t:MNIST">MNIST</a>]</p><div class="doc"><p>Reads an MNIST file and returns a list of samples.</p></div></div><div class="top"><p class="src"><a name="v:readMNISTLabels" class="def">readMNISTLabels</a> :: <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="../base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="../base-4.8.2.0/Data-Word.html#t:Word8">Word8</a>]</p><div class="doc"><p>Reads a list of MNIST labels from a file and returns them.</p></div></div><div class="top"><p class="src"><a name="v:readMessageFromFileOrDie" class="def">readMessageFromFileOrDie</a> :: Message m =&gt; <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="../base-4.8.2.0/System-IO.html#t:IO">IO</a> m</p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>