<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>TensorFlow.Nodes</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-Nodes.html");};
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">tensorflow-0.1.0.0: TensorFlow bindings.</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">TensorFlow.Nodes</p></div><divid="synopsis"><pid="control.syn"class="caption expander"onclick="toggleSection('syn')">Synopsis</p><ulid="section.syn"class="hide"onclick="toggleSection('syn')"><liclass="src short"><spanclass="keyword">class</span><ahref="#t:Nodes">Nodes</a> t <spanclass="keyword">where</span><ulclass="subs"><li><ahref="#v:getNodes">getNodes</a> :: t -><ahref="TensorFlow-Build.html#t:Build">Build</a> (<ahref="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a><ahref="TensorFlow-Output.html#t:NodeName">NodeName</a>)</li></ul></li><liclass="src short"><spanclass="keyword">class</span><ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t =><ahref="#t:Fetchable">Fetchable</a> t a <spanclass="keyword">where</span><ulclass="subs"><li><ahref="#v:getFetch">getFetch</a> :: t -><ahref="TensorFlow-Build.html#t:Build">Build</a> (<ahref="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a)</li></ul></li><liclass="src short"><spanclass="keyword">data</span><ahref="#t:Fetch">Fetch</a> a = <ahref="#v:Fetch">Fetch</a> {<ulclass="subs"><li><ahref="#v:fetches">fetches</a> :: <ahref="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a> Text</li><li><ahref="#v:fetchRestore">fetchRestore</a> :: <ahref="../containers-0.5.6.2/Data-Map-Lazy.html#t:Map">Map</a> Text <ahref="TensorFlow-Internal-FFI.html#t:TensorData">TensorData</a> -> a</li></ul>}</li><liclass="src short"><ahref="#v:nodesUnion">nodesUnion</a> :: (<ahref="../base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> b, <ahref="../base-4.8.2.0/Data-Traversable.html#t:Traversable">Traversable</a> t, <ahref="../base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => t (f b) -> f b</li><liclass="src short"><ahref="#v:fetchTensorVector">fetchTensorVector</a> :: <spanclass="keyword">forall</span> a v. <ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a =><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -><ahref="TensorFlow-Build.html#t:Build">Build</a> (<ahref="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (<ahref="TensorFlow-Types.html#t:TensorData">TensorData</a> a))</li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><spanclass="keyword">class</span><aname="t:Nodes"class="def">Nodes</a> t <spanclass="keyword">where</span></p><divclass="doc"><p>Types that contain ops which can be run.</p></div><divclass="subs methods"><pclass="caption">Methods</p><pclass="src"><aname="v:getNodes"class="def">getNodes</a> :: t -><ahref="TensorFlow-Build.html#t:Build">Build</a> (<ahref="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a><ahref="TensorFlow-Output.html#t:NodeName">NodeName</a>)</p></div><divclass="subs instances"><pid="control.i:Nodes"class="caption collapser"onclick="toggleSection('i:Nodes')">Instances</p><divid="section.i:Nodes"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a><ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t =><ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> [t]</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t1, <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t2) =><ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (t1, t2)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Nodes.h
fetched into.</p><p>Includes collections of tensors (e.g. tuples).</p></div><divclass="subs methods"><pclass="caption">Methods</p><pclass="src"><aname="v:getFetch"class="def">getFetch</a> :: t -><ahref="TensorFlow-Build.html#t:Build">Build</a> (<ahref="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a)</p></div><divclass="subs instances"><pid="control.i:Fetchable"class="caption collapser"onclick="toggleSection('i:Fetchable')">Instances</p><divid="section.i:Fetchable"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left">(~) * a () =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a><ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a> a</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t a =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> [t] [a]</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(~) * l (<ahref="TensorFlow-Types.html#t:List">List</a> ([] *)) =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<ahref="TensorFlow-Types.html#t:ListOf">ListOf</a> f ([] *)) l</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a, <ahref="TensorFlow-Types.html#t:TensorDataType">TensorDataType</a> s a, (~) * a a') =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a) (s a')</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a, (~) * a a') =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a) (<ahref="TensorFlow-Types.html#t:TensorData">TensorData</a> a')</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t1 a1, <ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t2 a2) =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (t1, t2) (a1, a2)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (f t) a, <ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<ahref="TensorFlow-Types.html#t:ListOf">ListOf</a> f ts) (<ahref="TensorFlow-Types.html#t:List">List</a> as), (~) (* -> *) i <ahref="../base-4.8.2.0/Data-Functor-Identity.html#t:Identity">Identity</a>) =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<ahref="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((:) * t ts)) (<ahref="TensorFlow-Types.html#t:ListOf">ListOf</a> i ((:) * a as))</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t1 a1, <ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t2 a2, <ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t3 a3) =><ahref="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (t1, t2, t3) (a1, a2, a3)</span></td><tdclass="doc empty"> </td></tr></table></div></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:Fetch"class="def">Fetch</a> a</p><divclass="doc"><p>Fetch action. Keeps track of what needs to be fetched and how to decode
the fetched data.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:Fetch"class="def">Fetch</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:fetches"class="def">fetches</a> :: <ahref="../containers-0.5.6.2/Data-Set.html#t:Set">Set</a> Text</dt><ddclass="doc"><p>Nodes to fetch</p></dd><dtclass="src"><aname="v:fetchRestore"class="def">fetchRestore</a> :: <ahref="../containers-0.5.6.2/Data-Map-Lazy.html#t:Map">Map</a> Text <ahref="TensorFlow-Internal-FFI.html#t:TensorData">TensorData</a> -> a</dt><ddclass="doc"><p>Function to create an <code>a</code> from the fetched data.</p></dd></dl><divclass="clear"></div></div></td></tr></table></div><divclass="subs instances"><pid="control.i:Fetch"class="caption collapser"onclick="toggleSection('i:Fetch')">Instances</p><divid="section.i:Fetch"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="../base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a><ahref="TensorFlow-Nodes.html#t:Fetch">Fetch</a></span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="../base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a><ahref="TensorFlow-Nodes.html#t:Fetch">Fetch</a></span></td><tdclass="doc empty"> </td></tr></table></div></div></div><divclass="top"><pclass="src"><aname="v:nodesUnion"class="def">nodesUnion</a> :: (<ahref="../base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> b, <ahref="../base-4.8.2.0/Data-Traversable.html#t:Traversable">Traversable</a> t, <ahref="../base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => t (f b) -> f b</p></div><divclass="top"><pclass="src"><aname="v:fetchTensorVector"class="def">fetchTensorVector</a> :: <spanclass="keyword">forall</span> a v. <ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a =><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -><ahref="TensorFlow-Build.html#t:Build">Build</a> (<ahref="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (<ahref="TensorFlow-Types.html#t:TensorData">TensorData</a> a))</p></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>