mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-05 10:39:44 +01:00
4 lines
5.1 KiB
HTML
4 lines
5.1 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="src/TensorFlow-Examples-MNIST-Parse.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-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> = <a href="../vector-0.11.0.0/Data-Vector.html#t:Vector">Vector</a> <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> -> <a href="../text-1.2.2.1/Data-Text.html#t:Text">Text</a></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> -> <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> -> <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 => <a href="../base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -> <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> = <a href="../vector-0.11.0.0/Data-Vector.html#t:Vector">Vector</a> <a href="../base-4.8.2.0/Data-Word.html#t:Word8">Word8</a> <a href="src/TensorFlow-Examples-MNIST-Parse.html#MNIST" class="link">Source</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> -> <a href="../text-1.2.2.1/Data-Text.html#t:Text">Text</a> <a href="src/TensorFlow-Examples-MNIST-Parse.html#drawMNIST" class="link">Source</a></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> () <a href="src/TensorFlow-Examples-MNIST-Parse.html#checkEndian" class="link">Source</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> -> <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>] <a href="src/TensorFlow-Examples-MNIST-Parse.html#readMNISTSamples" class="link">Source</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> -> <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>] <a href="src/TensorFlow-Examples-MNIST-Parse.html#readMNISTLabels" class="link">Source</a></p><d
|