1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-12-27 03:59:46 +01:00
tensorflow-haskell/docs/haddock/tensorflow-0.3.0.0/TensorFlow-Tensor.html
jcmartin 6b19e54722
Update to haddock files for tensorflow-0.3 package (TensorFlow 2.3.0). (#269)
* Update README to refer to 2.3.0-gpu.
* Remove old package documentation from haddock directory.
2020-11-13 12:21:27 -08:00

22 lines
No EOL
67 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.Tensor</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.Tensor.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.Tensor</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">data</span> <a href="#t:Tensor">Tensor</a> v a <span class="keyword">where</span><ul class="subs"><li><a href="#v:Tensor">Tensor</a> :: <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; {..} -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a</li></ul></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Value">Value</a> a = <a href="#v:Value">Value</a> {<ul class="subs"><li><a href="#v:runValue">runValue</a> :: a</li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Ref">Ref</a> a = <a href="#v:Ref">Ref</a> {<ul class="subs"><li><a href="#v:runRef">runRef</a> :: a</li></ul>}</li><li class="src short"><a href="#v:value">value</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a</li><li class="src short"><a href="#v:renderValue">renderValue</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; m (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a)</li><li class="src short"><span class="keyword">data</span> <a href="#t:Feed">Feed</a> = <a href="#v:Feed">Feed</a> <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a></li><li class="src short"><span class="keyword">class</span> <a href="#t:Rendered">Rendered</a> t <span class="keyword">where</span><ul class="subs"><li><a href="#v:renderedOutput">renderedOutput</a> :: t a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a></li></ul></li><li class="src short"><a href="#v:tensorNodeName">tensorNodeName</a> :: <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a></li><li class="src short"><a href="#v:feed">feed</a> :: <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Types.html#t:TensorData" title="TensorFlow.Types">TensorData</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Feed" title="TensorFlow.Tensor">Feed</a></li><li class="src short"><a href="#v:tensorFromName">tensorFromName</a> :: <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a</li><li class="src short"><a href="#v:tensorValueFromName">tensorValueFromName</a> :: <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a</li><li class="src short"><a href="#v:tensorRefFromName">tensorRefFromName</a> :: <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a</li><li class="src short"><span class="keyword">type</span> <a href="#t:TensorList">TensorList</a> v = <a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v)</li><li class="src short"><a href="#v:tensorListOutputs">tensorListOutputs</a> :: <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) =&gt; <a href="TensorFlow-Tensor.html#t:TensorList" title="TensorFlow.Tensor">TensorList</a> v as -&gt; [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>]</li><li class="src short"><a href="#v:colocateWith">colocateWith</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> t) =&gt; t b -&gt; m a -&gt; m a</li><li class="src short"><a href="#v:render">render</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a -&gt; m (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a)</li><li class="src short"><a href="#v:expr">expr</a> :: <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a</li><li class="src short"><a href="#v:addSummary">addSummary</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v) =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> -&gt; m ()</li><li class="src short"><a href="#v:collectAllSummaries">collectAllSummaries</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; m [<a href="TensorFlow-Tensor.html#t:SummaryTensor" title="TensorFlow.Tensor">SummaryTensor</a>]</li><li class="src short"><span class="keyword">type</span> <a href="#t:SummaryTensor">SummaryTensor</a> = <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a></li><li class="src short"><span class="keyword">class</span> <a href="../base-4.13.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> v =&gt; <a href="#t:TensorKind">TensorKind</a> v <span class="keyword">where</span><ul class="subs"><li><a href="#v:toBuild">toBuild</a> :: v a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:ToTensor">ToTensor</a> t <span class="keyword">where</span><ul class="subs"><li><a href="#v:toTensor">toTensor</a> :: <a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a =&gt; t a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a</li></ul></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Tensor" class="def">Tensor</a> v a <span class="keyword">where</span> <a href="src/TensorFlow.Tensor.html#Tensor" class="link">Source</a> <a href="#t:Tensor" class="selflink">#</a></p><div class="doc"><p>A named output of a TensorFlow operation.</p><p>The type parameter <code>a</code> is the type of the elements in the <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code>. The
parameter <code>v</code> is either:</p><ul><li><code><a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a></code>: An unrendered, immutable value.</li><li><code><a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></code>: A rendered, immutable value.</li><li><code><a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></code>: A rendered stateful handle (e.g., a variable).</li></ul><p>Note that <code><a href="TensorFlow-Tensor.html#v:expr" title="TensorFlow.Tensor">expr</a></code>, <code><a href="TensorFlow-Tensor.html#v:value" title="TensorFlow.Tensor">value</a></code>, <code><a href="TensorFlow-Tensor.html#v:render" title="TensorFlow.Tensor">render</a></code> and <code><a href="TensorFlow-Tensor.html#v:renderValue" title="TensorFlow.Tensor">renderValue</a></code> can help convert between
the different types of <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Tensor" class="def">Tensor</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src">:: <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src">=&gt; { <a id="v:tensorOutput" class="def">tensorOutput</a> :: v <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src">&nbsp;&nbsp;&nbsp;} -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Tensor">Instances</h4><details id="i:Tensor" 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:Tensor:ToTensor:1"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; <a href="TensorFlow-Tensor.html#t:ToTensor" title="TensorFlow.Tensor">ToTensor</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v)</span> <a href="src/TensorFlow.Tensor.html#line-199" class="link">Source</a> <a href="#t:Tensor" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:ToTensor:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toTensor">toTensor</a> :: <a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toTensor" class="link">Source</a> <a href="#v:toTensor" 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:Tensor:Rendered:2"></span> <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a>)</span> <a href="src/TensorFlow.Tensor.html#line-100" class="link">Source</a> <a href="#t:Tensor" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:Rendered:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:renderedOutput">renderedOutput</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" 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:Tensor:Rendered:3"></span> <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a>)</span> <a href="src/TensorFlow.Tensor.html#line-97" class="link">Source</a> <a href="#t:Tensor" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:Rendered:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:renderedOutput">renderedOutput</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" 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:Tensor:Nodes:4"></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">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor: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> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; <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:id:Tensor:BuildInputs:5"></span> <a href="TensorFlow-BuildOp.html#t:BuildInputs" title="TensorFlow.BuildOp">BuildInputs</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) as)</span> <a href="src/TensorFlow.BuildOp.html#line-298" class="link">Source</a> <a href="#t:BuildInputs" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:BuildInputs:5"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:buildInputs">buildInputs</a> :: <a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) as -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>] <a href="src/TensorFlow.BuildOp.html#buildInputs" class="link">Source</a> <a href="#v:buildInputs" 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:Tensor:BuildInputs:6"></span> <a href="TensorFlow-BuildOp.html#t:BuildInputs" title="TensorFlow.BuildOp">BuildInputs</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a)</span> <a href="src/TensorFlow.BuildOp.html#line-293" class="link">Source</a> <a href="#t:BuildInputs" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:BuildInputs:6"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:buildInputs">buildInputs</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>] <a href="src/TensorFlow.BuildOp.html#buildInputs" class="link">Source</a> <a href="#v:buildInputs" 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:Tensor:PureResult:7"></span> <a href="TensorFlow-Types.html#t:TensorTypes" title="TensorFlow.Types">TensorTypes</a> as =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult" title="TensorFlow.BuildOp">PureResult</a> (<a href="TensorFlow-Tensor.html#t:TensorList" title="TensorFlow.Tensor">TensorList</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> as)</span> <a href="src/TensorFlow.BuildOp.html#line-270" class="link">Source</a> <a href="#t:PureResult" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:PureResult:7"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pureResult">pureResult</a> :: <a href="../mtl-2.2.2/Control-Monad-Reader.html#t:ReaderT" title="Control.Monad.Reader">ReaderT</a> (<a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef" title="TensorFlow.Output">OpDef</a>) (<a href="../mtl-2.2.2/Control-Monad-State-Strict.html#t:State" title="Control.Monad.State.Strict">State</a> ResultState) (<a href="TensorFlow-Tensor.html#t:TensorList" title="TensorFlow.Tensor">TensorList</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> as) <a href="src/TensorFlow.BuildOp.html#pureResult" class="link">Source</a> <a href="#v:pureResult" 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:Tensor:PureResult:8"></span> <a href="TensorFlow-BuildOp.html#t:PureResult" title="TensorFlow.BuildOp">PureResult</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a)</span> <a href="src/TensorFlow.BuildOp.html#line-178" class="link">Source</a> <a href="#t:PureResult" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:PureResult:8"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pureResult">pureResult</a> :: <a href="../mtl-2.2.2/Control-Monad-Reader.html#t:ReaderT" title="Control.Monad.Reader">ReaderT</a> (<a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef" title="TensorFlow.Output">OpDef</a>) (<a href="../mtl-2.2.2/Control-Monad-State-Strict.html#t:State" title="Control.Monad.State.Strict">State</a> ResultState) (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a) <a href="src/TensorFlow.BuildOp.html#pureResult" class="link">Source</a> <a href="#v:pureResult" 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:Tensor:BuildResult:9"></span> (<a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v, <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v), <a href="TensorFlow-Types.html#t:TensorTypes" title="TensorFlow.Types">TensorTypes</a> as) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult" title="TensorFlow.BuildOp">BuildResult</a> (<a href="TensorFlow-Tensor.html#t:TensorList" title="TensorFlow.Tensor">TensorList</a> v as)</span> <a href="src/TensorFlow.BuildOp.html#line-135" class="link">Source</a> <a href="#t:BuildResult" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:BuildResult:9"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:buildResult">buildResult</a> :: Result (<a href="TensorFlow-Tensor.html#t:TensorList" title="TensorFlow.Tensor">TensorList</a> v as) <a href="src/TensorFlow.BuildOp.html#buildResult" class="link">Source</a> <a href="#v:buildResult" 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:Tensor:BuildResult:10"></span> (<a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v, <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v)) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult" title="TensorFlow.BuildOp">BuildResult</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a)</span> <a href="src/TensorFlow.BuildOp.html#line-129" class="link">Source</a> <a href="#t:BuildResult" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:BuildResult:10"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:buildResult">buildResult</a> :: Result (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a) <a href="src/TensorFlow.BuildOp.html#buildResult" class="link">Source</a> <a href="#v:buildResult" 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:Tensor:Fetchable:11"></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') =&gt; <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">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:Fetchable:11"><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 -&gt; <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:id:Tensor:Fetchable:12"></span> (<a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a, a ~ a') =&gt; <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">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Tensor:Fetchable:12"><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 -&gt; <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></table></details></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Value" class="def">Value</a> a <a href="src/TensorFlow.Tensor.html#Value" class="link">Source</a> <a href="#t:Value" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Value" class="def">Value</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:runValue" class="def">runValue</a> :: a</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Value">Instances</h4><details id="i:Value" 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:Value:Monad:1"></span> <a href="../base-4.13.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></span> <a href="src/TensorFlow.Tensor.html#line-68" class="link">Source</a> <a href="#t:Value" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Value:Monad:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-62--62--61-">(&gt;&gt;=)</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; (a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b) -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b <a href="#v:-62--62--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62--62-">(&gt;&gt;)</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b <a href="#v:-62--62-" class="selflink">#</a></p><p class="src"><a href="#v:return">return</a> :: a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a <a href="#v:return" 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:Value:Functor:2"></span> <a href="../base-4.13.0.0/Data-Functor.html#t:Functor" title="Data.Functor">Functor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></span> <a href="src/TensorFlow.Tensor.html#line-62" class="link">Source</a> <a href="#t:Value" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Value:Functor:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -&gt; b) -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(&lt;$)</a> :: a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</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:Value:Applicative:3"></span> <a href="../base-4.13.0.0/Control-Applicative.html#t:Applicative" title="Control.Applicative">Applicative</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></span> <a href="src/TensorFlow.Tensor.html#line-64" class="link">Source</a> <a href="#t:Value" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Value:Applicative:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pure">pure</a> :: a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a <a href="#v:pure" class="selflink">#</a></p><p class="src"><a href="#v:-60--42--62-">(&lt;*&gt;)</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> (a -&gt; b) -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b <a href="#v:-60--42--62-" class="selflink">#</a></p><p class="src"><a href="#v:liftA2">liftA2</a> :: (a -&gt; b -&gt; c) -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> c <a href="#v:liftA2" class="selflink">#</a></p><p class="src"><a href="#v:-42--62-">(*&gt;)</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b <a href="#v:-42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--42-">(&lt;*)</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a <a href="#v:-60--42-" 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:Value:TensorKind:4"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></span> <a href="src/TensorFlow.Tensor.html#line-185" class="link">Source</a> <a href="#t:Value" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Value:TensorKind:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBuild">toBuild</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toBuild" class="link">Source</a> <a href="#v:toBuild" 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:Value:Rendered:5"></span> <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a>)</span> <a href="src/TensorFlow.Tensor.html#line-97" class="link">Source</a> <a href="#t:Value" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Value:Rendered:5"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:renderedOutput">renderedOutput</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Ref" class="def">Ref</a> a <a href="src/TensorFlow.Tensor.html#Ref" class="link">Source</a> <a href="#t:Ref" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Ref" class="def">Ref</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:runRef" class="def">runRef</a> :: a</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Ref">Instances</h4><details id="i:Ref" 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:Ref:Monad:1"></span> <a href="../base-4.13.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></span> <a href="src/TensorFlow.Tensor.html#line-78" class="link">Source</a> <a href="#t:Ref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Ref:Monad:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-62--62--61-">(&gt;&gt;=)</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; (a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b) -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b <a href="#v:-62--62--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62--62-">(&gt;&gt;)</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b <a href="#v:-62--62-" class="selflink">#</a></p><p class="src"><a href="#v:return">return</a> :: a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a <a href="#v:return" 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:Ref:Functor:2"></span> <a href="../base-4.13.0.0/Data-Functor.html#t:Functor" title="Data.Functor">Functor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></span> <a href="src/TensorFlow.Tensor.html#line-72" class="link">Source</a> <a href="#t:Ref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Ref:Functor:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -&gt; b) -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(&lt;$)</a> :: a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</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:Ref:Applicative:3"></span> <a href="../base-4.13.0.0/Control-Applicative.html#t:Applicative" title="Control.Applicative">Applicative</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></span> <a href="src/TensorFlow.Tensor.html#line-74" class="link">Source</a> <a href="#t:Ref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Ref:Applicative:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pure">pure</a> :: a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a <a href="#v:pure" class="selflink">#</a></p><p class="src"><a href="#v:-60--42--62-">(&lt;*&gt;)</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> (a -&gt; b) -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b <a href="#v:-60--42--62-" class="selflink">#</a></p><p class="src"><a href="#v:liftA2">liftA2</a> :: (a -&gt; b -&gt; c) -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> c <a href="#v:liftA2" class="selflink">#</a></p><p class="src"><a href="#v:-42--62-">(*&gt;)</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b <a href="#v:-42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--42-">(&lt;*)</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> b -&gt; <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a <a href="#v:-60--42-" 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:Ref:TensorKind:4"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></span> <a href="src/TensorFlow.Tensor.html#line-188" class="link">Source</a> <a href="#t:Ref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Ref:TensorKind:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBuild">toBuild</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toBuild" class="link">Source</a> <a href="#v:toBuild" 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:Ref:Rendered:5"></span> <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a>)</span> <a href="src/TensorFlow.Tensor.html#line-100" class="link">Source</a> <a href="#t:Ref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Ref:Rendered:5"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:renderedOutput">renderedOutput</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:value" class="def">value</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a <a href="src/TensorFlow.Tensor.html#value" class="link">Source</a> <a href="#v:value" class="selflink">#</a></p><div class="doc"><p>Cast a 'Tensor Ref' into a 'Tensor Value'. This behaves like a no-op.</p></div></div><div class="top"><p class="src"><a id="v:renderValue" class="def">renderValue</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; m (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a) <a href="src/TensorFlow.Tensor.html#renderValue" class="link">Source</a> <a href="#v:renderValue" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Feed" class="def">Feed</a> <a href="src/TensorFlow.Tensor.html#Feed" class="link">Source</a> <a href="#t:Feed" class="selflink">#</a></p><div class="doc"><p>A pair of a <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code> and some data that should be fed into that <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code>
when running the graph.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Feed" class="def">Feed</a> <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Rendered" class="def">Rendered</a> t <span class="keyword">where</span> <a href="src/TensorFlow.Tensor.html#Rendered" class="link">Source</a> <a href="#t:Rendered" class="selflink">#</a></p><div class="doc"><p>A class ensuring that a given tensor is rendered, i.e., has a fixed
name, device, etc.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:renderedOutput" class="def">renderedOutput</a> :: t a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Rendered">Instances</h4><details id="i:Rendered" 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:Rendered:Rendered:1"></span> <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a>)</span> <a href="src/TensorFlow.Tensor.html#line-100" class="link">Source</a> <a href="#t:Rendered" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:ic:Rendered:Rendered:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:renderedOutput">renderedOutput</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" 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:Rendered:Rendered:2"></span> <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a>)</span> <a href="src/TensorFlow.Tensor.html#line-97" class="link">Source</a> <a href="#t:Rendered" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:ic:Rendered:Rendered:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:renderedOutput">renderedOutput</a> :: <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:tensorNodeName" class="def">tensorNodeName</a> :: <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Output.html#t:NodeName" title="TensorFlow.Output">NodeName</a> <a href="src/TensorFlow.Tensor.html#tensorNodeName" class="link">Source</a> <a href="#v:tensorNodeName" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:feed" class="def">feed</a> :: <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Types.html#t:TensorData" title="TensorFlow.Types">TensorData</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Feed" title="TensorFlow.Tensor">Feed</a> <a href="src/TensorFlow.Tensor.html#feed" class="link">Source</a> <a href="#v:feed" class="selflink">#</a></p><div class="doc"><p>Create a <code><a href="TensorFlow-Tensor.html#t:Feed" title="TensorFlow.Tensor">Feed</a></code> for feeding the given data into a <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code> when running
the graph.</p><p>Note that if a <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code> is rendered, its identity may change; so feeding the
rendered <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code> may be different than feeding the original <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:tensorFromName" class="def">tensorFromName</a> :: <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a <a href="src/TensorFlow.Tensor.html#tensorFromName" class="link">Source</a> <a href="#v:tensorFromName" class="selflink">#</a></p><div class="doc"><p>Create a <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code> for a given name. This can be used to reference nodes
in a <code>GraphDef</code> that was loaded via <code><a href="TensorFlow-Build.html#v:addGraphDef" title="TensorFlow.Build">addGraphDef</a></code>.
TODO(judahjacobson): add more safety checks here.</p></div></div><div class="top"><p class="src"><a id="v:tensorValueFromName" class="def">tensorValueFromName</a> :: <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a <a href="src/TensorFlow.Tensor.html#tensorValueFromName" class="link">Source</a> <a href="#v:tensorValueFromName" class="selflink">#</a></p><div class="doc"><p>Like <code><a href="TensorFlow-Tensor.html#v:tensorFromName" title="TensorFlow.Tensor">tensorFromName</a></code>, but type-restricted to <code><a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:tensorRefFromName" class="def">tensorRefFromName</a> :: <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a> -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a <a href="src/TensorFlow.Tensor.html#tensorRefFromName" class="link">Source</a> <a href="#v:tensorRefFromName" class="selflink">#</a></p><div class="doc"><p>Like <code><a href="TensorFlow-Tensor.html#v:tensorFromName" title="TensorFlow.Tensor">tensorFromName</a></code>, but type-restricted to <code><a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></code>.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:TensorList" class="def">TensorList</a> v = <a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) <a href="src/TensorFlow.Tensor.html#TensorList" class="link">Source</a> <a href="#t:TensorList" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tensorListOutputs" class="def">tensorListOutputs</a> :: <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) =&gt; <a href="TensorFlow-Tensor.html#t:TensorList" title="TensorFlow.Tensor">TensorList</a> v as -&gt; [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>] <a href="src/TensorFlow.Tensor.html#tensorListOutputs" class="link">Source</a> <a href="#v:tensorListOutputs" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:colocateWith" class="def">colocateWith</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Tensor.html#t:Rendered" title="TensorFlow.Tensor">Rendered</a> t) =&gt; t b -&gt; m a -&gt; m a <a href="src/TensorFlow.Tensor.html#colocateWith" class="link">Source</a> <a href="#v:colocateWith" class="selflink">#</a></p><div class="doc"><p>Places all nodes rendered in the given <code><a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a></code> action on the same
device as the given Tensor (see also <code><a href="TensorFlow-Build.html#v:withDevice" title="TensorFlow.Build">withDevice</a></code>). Make sure that
the action has side effects of rendering the desired tensors. A pure
return would not have the desired effect.</p></div></div><div class="top"><p class="src"><a id="v:render" class="def">render</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a -&gt; m (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a) <a href="src/TensorFlow.Tensor.html#render" class="link">Source</a> <a href="#v:render" class="selflink">#</a></p><div class="doc"><p>Render a <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code>, fixing its name, scope, device and control inputs from
the <code><a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a></code> context. Also renders any dependencies of the <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code> that
weren't already rendered.</p><p>This operation is idempotent; calling <code><a href="TensorFlow-Tensor.html#v:render" title="TensorFlow.Tensor">render</a></code> on the same input in the same
context will produce the same result. However, rendering the same
<code>Tensor Build</code> in two different contexts may result in two different
<code>Tensor Value</code>s.</p></div></div><div class="top"><p class="src"><a id="v:expr" class="def">expr</a> :: <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#expr" class="link">Source</a> <a href="#v:expr" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:addSummary" class="def">addSummary</a> <a href="src/TensorFlow.Tensor.html#addSummary" class="link">Source</a> <a href="#v:addSummary" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a></td><td class="doc"><p>A <code><a href="TensorFlow-Tensor.html#t:SummaryTensor" title="TensorFlow.Tensor">SummaryTensor</a></code></p></td></tr><tr><td class="src">-&gt; m ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Records the given summary action in Build for retrieval with
Summary protocol buffer in string form. For safety, use the
pre-composed functions: Logging.scalarSummary and
Logging.histogramSummary.</p></div></div><div class="top"><p class="src"><a id="v:collectAllSummaries" class="def">collectAllSummaries</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; m [<a href="TensorFlow-Tensor.html#t:SummaryTensor" title="TensorFlow.Tensor">SummaryTensor</a>] <a href="src/TensorFlow.Tensor.html#collectAllSummaries" class="link">Source</a> <a href="#v:collectAllSummaries" class="selflink">#</a></p><div class="doc"><p>Retrieves the summary ops collected thus far. Typically this only
happens once, but if <code><a href="TensorFlow-Session.html#v:buildWithSummary" title="TensorFlow.Session">buildWithSummary</a></code> is used
repeatedly, the values accumulate.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:SummaryTensor" class="def">SummaryTensor</a> = <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> <a href="src/TensorFlow.Tensor.html#SummaryTensor" class="link">Source</a> <a href="#t:SummaryTensor" class="selflink">#</a></p><div class="doc"><p>Synonym for the tensors that return serialized Summary proto.</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="../base-4.13.0.0/Control-Monad.html#t:Monad" title="Control.Monad">Monad</a> v =&gt; <a id="t:TensorKind" class="def">TensorKind</a> v <span class="keyword">where</span> <a href="src/TensorFlow.Tensor.html#TensorKind" class="link">Source</a> <a href="#t:TensorKind" class="selflink">#</a></p><div class="doc"><p>An internal class for kinds of Tensors.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:toBuild" class="def">toBuild</a> :: v a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toBuild" class="link">Source</a> <a href="#v:toBuild" class="selflink">#</a></p></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:TensorKind">Instances</h4><details id="i:TensorKind" 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:TensorKind:TensorKind:1"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a></span> <a href="src/TensorFlow.Tensor.html#line-191" class="link">Source</a> <a href="#t:TensorKind" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:ic:TensorKind:TensorKind:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBuild">toBuild</a> :: <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toBuild" class="link">Source</a> <a href="#v:toBuild" 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:TensorKind:TensorKind:2"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a></span> <a href="src/TensorFlow.Tensor.html#line-188" class="link">Source</a> <a href="#t:TensorKind" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:ic:TensorKind:TensorKind:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBuild">toBuild</a> :: <a href="TensorFlow-Tensor.html#t:Ref" title="TensorFlow.Tensor">Ref</a> a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toBuild" class="link">Source</a> <a href="#v:toBuild" 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:TensorKind:TensorKind:3"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a></span> <a href="src/TensorFlow.Tensor.html#line-185" class="link">Source</a> <a href="#t:TensorKind" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:ic:TensorKind:TensorKind:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toBuild">toBuild</a> :: <a href="TensorFlow-Tensor.html#t:Value" title="TensorFlow.Tensor">Value</a> a -&gt; <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toBuild" class="link">Source</a> <a href="#v:toBuild" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:ToTensor" class="def">ToTensor</a> t <span class="keyword">where</span> <a href="src/TensorFlow.Tensor.html#ToTensor" class="link">Source</a> <a href="#t:ToTensor" class="selflink">#</a></p><div class="doc"><p>Types which can be converted to <code><a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a></code>.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:toTensor" class="def">toTensor</a> :: <a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a =&gt; t a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toTensor" class="link">Source</a> <a href="#v:toTensor" class="selflink">#</a></p></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:ToTensor">Instances</h4><details id="i:ToTensor" 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:ToTensor:ToTensor:1"></span> <a href="TensorFlow-Tensor.html#t:TensorKind" title="TensorFlow.Tensor">TensorKind</a> v =&gt; <a href="TensorFlow-Tensor.html#t:ToTensor" title="TensorFlow.Tensor">ToTensor</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v)</span> <a href="src/TensorFlow.Tensor.html#line-199" class="link">Source</a> <a href="#t:ToTensor" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:ic:ToTensor:ToTensor:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toTensor">toTensor</a> :: <a href="TensorFlow-Types.html#t:TensorType" title="TensorFlow.Types">TensorType</a> a =&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> a <a href="src/TensorFlow.Tensor.html#toTensor" class="link">Source</a> <a href="#v:toTensor" class="selflink">#</a></p></div></details></td></tr></table></details></div></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>