mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-30 06:49:44 +01:00
6 lines
No EOL
30 KiB
HTML
6 lines
No EOL
30 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 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();};
|
|
//]]>
|
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow.Nodes.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-0.2.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"></ul></li><li class="src short"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => <a href="#t:Fetchable">Fetchable</a> t a <span class="keyword">where</span><ul class="subs"></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.10.2/Data-Set-Internal.html#t:Set">Set</a> Text</li><li><a href="#v:fetchRestore">fetchRestore</a> :: <a href="../containers-0.5.10.2/Data-Map-Internal.html#t:Map">Map</a> Text <a href="TensorFlow-Internal-FFI.html#t:TensorData">TensorData</a> -> a</li></ul>}</li><li class="src short"><a href="#v:nodesUnion">nodesUnion</a> :: (<a href="../base-4.10.1.0/Data-Monoid.html#t:Monoid">Monoid</a> b, <a href="../base-4.10.1.0/Data-Traversable.html#t:Traversable">Traversable</a> t, <a href="../base-4.10.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => t (f b) -> 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 => <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -> <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 id="t:Nodes" class="def">Nodes</a> t <span class="keyword">where</span> <a href="src/TensorFlow.Nodes.html#Nodes" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></p><div class="doc"><p>Types that contain ops which can be run.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="TensorFlow-Nodes.html#v:getNodes">getNodes</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:getNodes" class="def">getNodes</a> :: t -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</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"><span id="control.i:ic:Nodes:Nodes:1" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:1')"></span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span> <a href="src/TensorFlow.Nodes.html#line-98" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:2" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:2')"></span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> [t]</span> <a href="src/TensorFlow.Nodes.html#line-86" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: [t] -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:3" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:3')"></span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="../base-4.10.1.0/Data-Maybe.html#t:Maybe">Maybe</a> t)</span> <a href="src/TensorFlow.Nodes.html#line-92" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: <a href="../base-4.10.1.0/Data-Maybe.html#t:Maybe">Maybe</a> t -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:4" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:4')"></span> (<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> (t1, t2)</span> <a href="src/TensorFlow.Nodes.html#line-72" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: (t1, t2) -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:5" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:5')"></span> (<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)) => <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((:) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> a as))</span> <a href="src/TensorFlow.Nodes.html#line-111" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: <a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((<a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> ': a) as) -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:6" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:6')"></span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ([] <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a>))</span> <a href="src/TensorFlow.Nodes.html#line-108" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: <a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f [<a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a>] -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:7" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:7')"></span> <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a)</span> <a href="src/TensorFlow.Nodes.html#line-121" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Nodes:Nodes:8" class="instance expander" onclick="toggleSection('i:ic:Nodes:Nodes:8')"></span> (<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) => <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> (t1, t2, t3)</span> <a href="src/TensorFlow.Nodes.html#line-75" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Nodes:Nodes:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: (t1, t2, t3) -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></div></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 => <a id="t:Fetchable" class="def">Fetchable</a> t a <span class="keyword">where</span> <a href="src/TensorFlow.Nodes.html#Fetchable" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></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 minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="TensorFlow-Nodes.html#v:getFetch">getFetch</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:getFetch" class="def">getFetch</a> :: t -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</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"><span id="control.i:ic:Fetchable:Fetchable:1" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:1')"></span> (~) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> a () => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> a</span> <a href="src/TensorFlow.Nodes.html#line-105" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:2" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:2')"></span> <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t a => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> [t] [a]</span> <a href="src/TensorFlow.Nodes.html#line-89" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: [t] -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> [a]) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:3" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:3')"></span> <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> t a => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="../base-4.10.1.0/Data-Maybe.html#t:Maybe">Maybe</a> t) (<a href="../base-4.10.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</span> <a href="src/TensorFlow.Nodes.html#line-95" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="../base-4.10.1.0/Data-Maybe.html#t:Maybe">Maybe</a> t -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (<a href="../base-4.10.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:4" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:4')"></span> (~) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> l (<a href="TensorFlow-Types.html#t:List">List</a> ([] <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a>)) => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ([] <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a>)) l</span> <a href="src/TensorFlow.Nodes.html#line-114" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f [<a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a>] -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> l) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:5" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:5')"></span> (<a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a, <a href="TensorFlow-Types.html#t:TensorDataType">TensorDataType</a> s a, (~) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> a a') => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a) (s a')</span> <a href="src/TensorFlow.Nodes.html#line-145" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (s a')) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:6" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:6')"></span> (<a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a, (~) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> a a') => <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> <a href="src/TensorFlow.Nodes.html#line-142" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -> <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')) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:7" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:7')"></span> (<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> (t1, t2) (a1, a2)</span> <a href="src/TensorFlow.Nodes.html#line-78" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: (t1, t2) -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (a1, a2)) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:8" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:8')"></span> (<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), (~) (<a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a>) i <a href="../base-4.10.1.0/Data-Functor-Identity.html#t:Identity">Identity</a>) => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((:) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> t ts)) (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> i ((:) <a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> a as))</span> <a href="src/TensorFlow.Nodes.html#line-117" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="TensorFlow-Types.html#t:ListOf">ListOf</a> f ((<a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> ': t) ts) -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> i ((<a href="../base-4.10.1.0/Data-Kind.html#t:-42-">*</a> ': a) as))) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Fetchable:Fetchable:9" class="instance expander" onclick="toggleSection('i:ic:Fetchable:Fetchable:9')"></span> (<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) => <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> (t1, t2, t3) (a1, a2, a3)</span> <a href="src/TensorFlow.Nodes.html#line-81" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Fetchable:Fetchable:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: (t1, t2, t3) -> <a href="TensorFlow-Build.html#t:Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (a1, a2, a3)) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Fetch" class="def">Fetch</a> a <a href="src/TensorFlow.Nodes.html#Fetch" class="link">Source</a> <a href="#t:Fetch" class="selflink">#</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 id="v:Fetch" class="def">Fetch</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:fetches" class="def">fetches</a> :: <a href="../containers-0.5.10.2/Data-Set-Internal.html#t:Set">Set</a> Text</dfn><div class="doc"><p>Nodes to fetch</p></div></li><li><dfn class="src"><a id="v:fetchRestore" class="def">fetchRestore</a> :: <a href="../containers-0.5.10.2/Data-Map-Internal.html#t:Map">Map</a> Text <a href="TensorFlow-Internal-FFI.html#t:TensorData">TensorData</a> -> a</dfn><div class="doc"><p>Function to create an <code>a</code> from the fetched data.</p></div></li></ul></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"><span id="control.i:id:Fetch:Functor:1" class="instance expander" onclick="toggleSection('i:id:Fetch:Functor:1')"></span> <a href="../base-4.10.1.0/Data-Functor.html#t:Functor">Functor</a> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a></span> <a href="src/TensorFlow.Nodes.html#line-61" class="link">Source</a> <a href="#t:Fetch" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Fetch:Functor:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -> b) -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(<$)</a> :: a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a <a href="#v:-60--36-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fetch:Applicative:2" class="instance expander" onclick="toggleSection('i:id:Fetch:Applicative:2')"></span> <a href="../base-4.10.1.0/Control-Applicative.html#t:Applicative">Applicative</a> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a></span> <a href="src/TensorFlow.Nodes.html#line-64" class="link">Source</a> <a href="#t:Fetch" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Fetch:Applicative:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pure">pure</a> :: a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a <a href="#v:pure" class="selflink">#</a></p><p class="src"><a href="#v:-60--42--62-">(<*>)</a> :: <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> (a -> b) -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b <a href="#v:-60--42--62-" class="selflink">#</a></p><p class="src"><a href="#v:liftA2">liftA2</a> :: (a -> b -> c) -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> c <a href="#v:liftA2" class="selflink">#</a></p><p class="src"><a href="#v:-42--62-">(*>)</a> :: <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b <a href="#v:-42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--42-">(<*)</a> :: <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch">Fetch</a> a <a href="#v:-60--42-" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:nodesUnion" class="def">nodesUnion</a> :: (<a href="../base-4.10.1.0/Data-Monoid.html#t:Monoid">Monoid</a> b, <a href="../base-4.10.1.0/Data-Traversable.html#t:Traversable">Traversable</a> t, <a href="../base-4.10.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => t (f b) -> f b <a href="src/TensorFlow.Nodes.html#nodesUnion" class="link">Source</a> <a href="#v:nodesUnion" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fetchTensorVector" class="def">fetchTensorVector</a> :: <span class="keyword">forall</span> a v. <a href="TensorFlow-Types.html#t:TensorType">TensorType</a> a => <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -> <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)) <a href="src/TensorFlow.Nodes.html#fetchTensorVector" class="link">Source</a> <a href="#v:fetchTensorVector" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html> |