mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-14 23:19:43 +01:00
3 lines
35 KiB
HTML
3 lines
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
|
||
|
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"
|
||
|
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 ->
|