mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-27 03:59:46 +01:00
6b19e54722
* Update README to refer to 2.3.0-gpu. * Remove old package documentation from haddock directory.
3 lines
No EOL
35 KiB
HTML
3 lines
No EOL
35 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" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>TensorFlow.Nodes</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">tensorflow-0.3.0.0: TensorFlow bindings.</span><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></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"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="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 -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>)</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t => <a href="#t:Fetchable">Fetchable</a> t a <span class="keyword">where</span><ul class="subs"><li><a href="#v:getFetch">getFetch</a> :: t -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a></li><li><a href="#v:fetchRestore">fetchRestore</a> :: <a href="../containers-0.6.2.1/Data-Map-Strict.html#t:Map" title="Data.Map.Strict">Map</a> <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> a</li></ul>}</li><li class="src short"><a href="#v:nodesUnion">nodesUnion</a> :: (<a href="../base-4.13.0.0/Data-Monoid.html#t:Monoid" title="Data.Monoid">Monoid</a> b, <a href="../base-4.13.0.0/Data-Traversable.html#t:Traversable" title="Data.Traversable">Traversable</a> t, <a href="../base-4.13.0.0/Control-Applicative.html#t:Applicative" title="Control.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" title="TensorFlow.Types">TensorType</a> a => <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (<a href="TensorFlow-Types.html#t:TensorData" title="TensorFlow.Types">TensorData</a> a))</li></ul></details></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 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" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">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"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Nodes">Instances</h4><details id="i:Nodes" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:1"></span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> <a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">ControlNode</a></span> <a href="src/TensorFlow.Nodes.html#line-97" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Output">ControlNode</a> -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:2"></span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t => <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> [t]</span> <a href="src/TensorFlow.Nodes.html#line-85" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:3"></span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t => <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (<a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> t)</span> <a href="src/TensorFlow.Nodes.html#line-91" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getNodes">getNodes</a> :: <a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> t -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:4"></span> (<a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t1, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t2) => <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (t1, t2)</span> <a href="src/TensorFlow.Nodes.html#line-71" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:5"></span> (<a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (f a), <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> f as)) => <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> f (a ': as))</span> <a href="src/TensorFlow.Nodes.html#line-110" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:5"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Types">ListOf</a> f (a ': as) -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:6"></span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> f ('[] :: [<a href="../base-4.13.0.0/Data-Kind.html#t:Type" title="Data.Kind">Type</a>]))</span> <a href="src/TensorFlow.Nodes.html#line-107" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:6"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Types">ListOf</a> f '[] -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:7"></span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a)</span> <a href="src/TensorFlow.Nodes.html#line-120" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:7"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Nodes:Nodes:8"></span> (<a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t1, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t2, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t3) => <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> (t1, t2, t3)</span> <a href="src/TensorFlow.Nodes.html#line-74" class="link">Source</a> <a href="#t:Nodes" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Nodes:Nodes:8"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Build">Build</a> (<a href="../containers-0.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a>) <a href="src/TensorFlow.Nodes.html#getNodes" class="link">Source</a> <a href="#v:getNodes" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.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" title="TensorFlow.Tensor">Tensor</a></code>, <code><a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">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 id="v:getFetch" class="def">getFetch</a> :: t -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Fetchable">Instances</h4><details id="i:Fetchable" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:1"></span> a ~ () => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> <a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">ControlNode</a> a</span> <a href="src/TensorFlow.Nodes.html#line-104" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Output">ControlNode</a> -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> a) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:2"></span> <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t a => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> [t] [a]</span> <a href="src/TensorFlow.Nodes.html#line-88" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> [a]) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:3"></span> <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t a => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (<a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> t) (<a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> a)</span> <a href="src/TensorFlow.Nodes.html#line-94" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getFetch">getFetch</a> :: <a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> t -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (<a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> a)) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:4"></span> l ~ <a href="TensorFlow-Types.html#t:List" title="TensorFlow.Types">List</a> ('[] :: [<a href="../base-4.13.0.0/Data-Kind.html#t:Type" title="Data.Kind">Type</a>]) => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> f ('[] :: [<a href="../base-4.13.0.0/Data-Kind.html#t:Type" title="Data.Kind">Type</a>])) l</span> <a href="src/TensorFlow.Nodes.html#line-113" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Types">ListOf</a> f '[] -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> l) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:5"></span> (<a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a, <a href="TensorFlow-Types.html#t:TensorDataType" title="TensorFlow.Types">TensorDataType</a> s a, a ~ a') => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a) (s a')</span> <a href="src/TensorFlow.Nodes.html#line-144" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:5"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (s a')) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:6"></span> (<a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a, a ~ a') => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a) (<a href="TensorFlow-Types.html#t:TensorData" title="TensorFlow.Types">TensorData</a> a')</span> <a href="src/TensorFlow.Nodes.html#line-141" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:6"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (<a href="TensorFlow-Types.html#t:TensorData" title="TensorFlow.Types">TensorData</a> a')) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:7"></span> (<a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t1 a1, <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t2 a2) => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (t1, t2) (a1, a2)</span> <a href="src/TensorFlow.Nodes.html#line-77" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:7"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (a1, a2)) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:8"></span> (<a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (f t) a, <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> f ts) (<a href="TensorFlow-Types.html#t:List" title="TensorFlow.Types">List</a> as), i ~ <a href="../base-4.13.0.0/Data-Functor-Identity.html#t:Identity" title="Data.Functor.Identity">Identity</a>) => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> f (t ': ts)) (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> i (a ': as))</span> <a href="src/TensorFlow.Nodes.html#line-116" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:8"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Types">ListOf</a> f (t ': ts) -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> i (a ': as))) <a href="src/TensorFlow.Nodes.html#getFetch" class="link">Source</a> <a href="#v:getFetch" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Fetchable:Fetchable:9"></span> (<a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t1 a1, <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t2 a2, <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> t3 a3) => <a href="TensorFlow-Nodes.html#t:Fetchable" title="TensorFlow.Nodes">Fetchable</a> (t1, t2, t3) (a1, a2, a3)</span> <a href="src/TensorFlow.Nodes.html#line-80" class="link">Source</a> <a href="#t:Fetchable" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:Fetchable:Fetchable:9"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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></details></td></tr></table></details></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.6.2.1/Data-Set.html#t:Set" title="Data.Set">Set</a> <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a></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.6.2.1/Data-Map-Strict.html#t:Map" title="Data.Map.Strict">Map</a> <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">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"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Fetch">Instances</h4><details id="i:Fetch" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Fetch:Functor:1"></span> <a href="../base-4.13.0.0/Data-Functor.html#t:Functor" title="Data.Functor">Functor</a> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a></span> <a href="src/TensorFlow.Nodes.html#line-60" class="link">Source</a> <a href="#t:Fetch" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:Fetch:Functor:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Nodes">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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" title="TensorFlow.Nodes">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> a <a href="#v:-60--36-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Fetch:Applicative:2"></span> <a href="../base-4.13.0.0/Control-Applicative.html#t:Applicative" title="Control.Applicative">Applicative</a> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a></span> <a href="src/TensorFlow.Nodes.html#line-63" class="link">Source</a> <a href="#t:Fetch" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:Fetch:Applicative:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></p> <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" title="TensorFlow.Nodes">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" title="TensorFlow.Nodes">Fetch</a> (a -> b) -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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" title="TensorFlow.Nodes">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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" title="TensorFlow.Nodes">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">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" title="TensorFlow.Nodes">Fetch</a> a -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> b -> <a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> a <a href="#v:-60--42-" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:nodesUnion" class="def">nodesUnion</a> :: (<a href="../base-4.13.0.0/Data-Monoid.html#t:Monoid" title="Data.Monoid">Monoid</a> b, <a href="../base-4.13.0.0/Data-Traversable.html#t:Traversable" title="Data.Traversable">Traversable</a> t, <a href="../base-4.13.0.0/Control-Applicative.html#t:Applicative" title="Control.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" title="TensorFlow.Types">TensorType</a> a => <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> (<a href="TensorFlow-Nodes.html#t:Fetch" title="TensorFlow.Nodes">Fetch</a> (<a href="TensorFlow-Types.html#t:TensorData" title="TensorFlow.Types">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.23.0</p></div></body></html> |