1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-30 06:49:44 +01:00
tensorflow-haskell/docs/haddock/tensorflow-0.1.0.0/TensorFlow-Nodes.html
2017-04-08 07:14:47 -07:00

6 lines
No EOL
12 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.Nodes</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-Nodes.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-0.1.0.0: TensorFlow bindings.</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.Nodes</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">class</span> <a href="#t:Nodes">Nodes</a> t <span class="keyword">where</span><ul class="subs"><li><a href="#v:getNodes">getNodes</a> :: t -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>)</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t =&gt; <a href="#t:Fetchable">Fetchable</a> t a <span class="keyword">where</span><ul class="subs"><li><a href="#v:getFetch">getFetch</a> :: t -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a)</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Fetch">Fetch</a> a = <a href="#v:Fetch">Fetch</a> {<ul class="subs"><li><a href="#v:fetches">fetches</a> :: <a href="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a> Text</li><li><a href="#v:fetchRestore">fetchRestore</a> :: <a href="../containers-0.5.6.2/Data-Map-Lazy.html#t:Map">Map</a> Text <a href="TensorFlow-Internal-FFI.html#t:TensorData">TensorData</a> -&gt; a</li></ul>}</li><li class="src short"><a href="#v:nodesUnion">nodesUnion</a> :: (<a href="../base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> b, <a href="../base-4.8.2.0/Data-Traversable.html#t:Traversable">Traversable</a> t, <a href="../base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> f) =&gt; t (f b) -&gt; f b</li><li class="src short"><a href="#v:fetchTensorVector">fetchTensorVector</a> :: <span class="keyword">forall</span> a v. <a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a =&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (<a href="TensorFlow-Types.html#t:TensorData">TensorData</a> a))</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:Nodes" class="def">Nodes</a> t <span class="keyword">where</span></p><div class="doc"><p>Types that contain ops which can be run.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:getNodes" class="def">getNodes</a> :: t -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>)</p></div><div class="subs instances"><p id="control.i:Nodes" class="caption collapser" onclick="toggleSection('i:Nodes')">Instances</p><div id="section.i:Nodes" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t =&gt; <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> [t]</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t1, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t2) =&gt; <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (t1, t2)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (f a), <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f as)) =&gt; <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((:) * a as))</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ([] *))</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t1, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t2, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t3) =&gt; <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (t1, t2, t3)</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t =&gt; <a name="t:Fetchable" class="def">Fetchable</a> t a <span class="keyword">where</span></p><div class="doc"><p>Types that tensor representations (e.g. <code><a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code>, <code><a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></code>) can be
fetched into.</p><p>Includes collections of tensors (e.g. tuples).</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:getFetch" class="def">getFetch</a> :: t -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a)</p></div><div class="subs instances"><p id="control.i:Fetchable" class="caption collapser" onclick="toggleSection('i:Fetchable')">Instances</p><div id="section.i:Fetchable" class="show"><table><tr><td class="src clearfix"><span class="inst-left">(~) * a () =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> a</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t a =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> [t] [a]</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(~) * l (<a href="TensorFlow-Types.html#t:List">List</a> ([] *)) =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ([] *)) l</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a, <a href="TensorFlow-Types.html#t:TensorDataType">TensorDataType</a> s a, (~) * a a') =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a) (s a')</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a, (~) * a a') =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a) (<a href="TensorFlow-Types.html#t:TensorData">TensorData</a> a')</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t1 a1, <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t2 a2) =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (t1, t2) (a1, a2)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (f t) a, <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ts) (<a href="TensorFlow-Types.html#t:List">List</a> as), (~) (* -&gt; *) i <a href="../base-4.8.2.0/Data-Functor-Identity.html#t:Identity">Identity</a>) =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((:) * t ts)) (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> i ((:) * a as))</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t1 a1, <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t2 a2, <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t3 a3) =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (t1, t2, t3) (a1, a2, a3)</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Fetch" class="def">Fetch</a> a</p><div class="doc"><p>Fetch action. Keeps track of what needs to be fetched and how to decode
the fetched data.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Fetch" class="def">Fetch</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:fetches" class="def">fetches</a> :: <a href="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a> Text</dt><dd class="doc"><p>Nodes to fetch</p></dd><dt class="src"><a name="v:fetchRestore" class="def">fetchRestore</a> :: <a href="../containers-0.5.6.2/Data-Map-Lazy.html#t:Map">Map</a> Text <a href="TensorFlow-Internal-FFI.html#t:TensorData">TensorData</a> -&gt; a</dt><dd class="doc"><p>Function to create an <code>a</code> from the fetched data.</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Fetch" class="caption collapser" onclick="toggleSection('i:Fetch')">Instances</p><div id="section.i:Fetch" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:nodesUnion" class="def">nodesUnion</a> :: (<a href="../base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> b, <a href="../base-4.8.2.0/Data-Traversable.html#t:Traversable">Traversable</a> t, <a href="../base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> f) =&gt; t (f b) -&gt; f b</p></div><div class="top"><p class="src"><a name="v:fetchTensorVector" class="def">fetchTensorVector</a> :: <span class="keyword">forall</span> a v. <a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a =&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (<a href="TensorFlow-Types.html#t:TensorData">TensorData</a> a))</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>