1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-18 00:49:44 +01:00
tensorflow-haskell/docs/haddock/tensorflow-0.2.0.0/TensorFlow-Tensor.html

25 lines
55 KiB
HTML
Raw Normal View History

2018-08-14 06:05:49 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>TensorFlow.Tensor</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow.Tensor.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">TensorFlow.Tensor</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">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">TensorKind</a> v =&gt; {..} -&gt; <a href="TensorFlow-Tensor.html#t: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">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">Ref</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">Value</a> a</li><li class="src short"><a href="#v:renderValue">renderValue</a> :: <a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m =&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -&gt; m (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">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">Output</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData">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"></ul></li><li class="src short"><a href="#v:tensorNodeName">tensorNodeName</a> :: <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Output.html#t:NodeName">NodeName</a></li><li class="src short"><a href="#v:feed">feed</a> :: <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Types.html#t:TensorData">TensorData</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Feed">Feed</a></li><li class="src short"><a href="#v:tensorFromName">tensorFromName</a> :: <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> v =&gt; Text -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a</li><li class="src short"><a href="#v:tensorValueFromName">tensorValueFromName</a> :: Text -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">Value</a> a</li><li class="src short"><a href="#v:tensorRefFromName">tensorRefFromName</a> :: Text -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">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">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v)</li><li class="src short"><a href="#v:tensorListOutputs">tensorListOutputs</a> :: <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v) =&gt; <a href="TensorFlow-Tensor.html#t:TensorList">TensorList</a> v as -&gt; [<a href="TensorFlow-Output.html#t:Output">Output</a>]</li><li class="src short"><a href="#v:colocateWith">colocateWith</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</
parameter <code>v</code> is either:</p><ul><li><code><a href="TensorFlow-Build.html#t:Build">Build</a></code>: An unrendered, immutable value.</li><li><code><a href="TensorFlow-Tensor.html#t:Value">Value</a></code>: A rendered, immutable value.</li><li><code><a href="TensorFlow-Tensor.html#t:Ref">Ref</a></code>: A rendered stateful handle (e.g., a variable).</li></ul><p>Note that <code><a href="TensorFlow-Tensor.html#v:expr">expr</a></code>, <code><a href="TensorFlow-Tensor.html#v:value">value</a></code>, <code><a href="TensorFlow-Tensor.html#v:render">render</a></code> and <code><a href="TensorFlow-Tensor.html#v:renderValue">renderValue</a></code> can help convert between
the different types of <code><a href="TensorFlow-Tensor.html#t: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> :: <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> v =&gt; {..} -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v 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:tensorOutput" class="def">tensorOutput</a> :: v <a href="TensorFlow-Output.html#t:Output">Output</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:Tensor" class="caption collapser" onclick="toggleSection('i:Tensor')">Instances</p><div id="section.i:Tensor" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tensor:ToTensor:1" class="instance expander" onclick="toggleSection('i:id:Tensor:ToTensor:1')"></span> <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> v =&gt; <a href="TensorFlow-Tensor.html#t:ToTensor">ToTensor</a> (<a href="TensorFlow-Tensor.html#t: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"><div id="section.i:id:Tensor:ToTensor:1" class="inst-details hide"><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">TensorType</a> a =&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Build.html#t: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></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tensor:Rendered:2" class="instance expander" onclick="toggleSection('i:id:Tensor:Rendered:2')"></span> <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">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"><div id="section.i:id:Tensor:Rendered:2" class="inst-details hide"><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">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">Ref</a> a -&gt; <a href="TensorFlow-Output.html#t:Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tensor:Rendered:3" class="instance expander" onclick="toggleSection('i:id:Tensor:Rendered:3')"></span> <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">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"><div id="section.i:id:Tensor:Rendered:3" class="inst-details hide"><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">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">Value</a> a -&gt; <a href="TensorFlow-Output.html#t:Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.
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">Output</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData">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 minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="TensorFlow-Tensor.html#v:renderedOutput">renderedOutput</a></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">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"><p id="control.i:Rendered" class="caption collapser" onclick="toggleSection('i:Rendered')">Instances</p><div id="section.i:Rendered" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Rendered:Rendered:1" class="instance expander" onclick="toggleSection('i:ic:Rendered:Rendered:1')"></span> <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">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"><div id="section.i:ic:Rendered:Rendered:1" class="inst-details hide"><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">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">Ref</a> a -&gt; <a href="TensorFlow-Output.html#t:Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Rendered:Rendered:2" class="instance expander" onclick="toggleSection('i:ic:Rendered:Rendered:2')"></span> <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">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"><div id="section.i:ic:Rendered:Rendered:2" class="inst-details hide"><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">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">Value</a> a -&gt; <a href="TensorFlow-Output.html#t:Output">Output</a> <a href="src/TensorFlow.Tensor.html#renderedOutput" class="link">Source</a> <a href="#v:renderedOutput" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:tensorNodeName" class="def">tensorNodeName</a> :: <a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Output.html#t:NodeName">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">Rendered</a> t =&gt; t a -&gt; <a href="TensorFlow-Types.html#t:TensorData">TensorData</a> a -&gt; <a href="TensorFlow-Tensor.html#t:Feed">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">Feed</a></code> for feeding the given data into a <code><a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code> when running
the graph.</p><p>Note that if a <code><a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code> is rendered, its identity may change; so feeding the
rendered <code><a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code> may be different than feeding the original <code><a href="TensorFlow-Tensor.html#t: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">TensorKind</a> v =&gt; Text -&gt; <a href="TensorFlow-Tensor.html#t: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">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">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> :: Text -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">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">tensorFromName</a></code>, but type-restricted to <code><a href="TensorFlow-Tensor.html#t:Value">Value</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:tensorRefFromName" class="def">tensorRefFromName</a> :: Text -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">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">tensorFromName</a></code>, but type-restricted to <code><a href="TensorFlow-Tensor.html#t:Ref">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">ListOf</a> (<a href="TensorFlow-Tensor.html#t: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">Rendered</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v) =&gt; <a href="TensorFlow-Tensor.html#t:TensorList">TensorList</a> v as -&gt; [<a href="TensorFlow-Output.html#t: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">MonadBuild</a> m, <a href="TensorFlow-Tensor.html#t:Rendered">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">Build</a></code> action on the same
device as the given Tensor (see also <code><a href="TensorFlow-Build.html#v:withDevice">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">MonadBuild</a> m =&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build">Build</a> a -&gt; m (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">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">Tensor</a></code>, fixing its name, scope, device and control inputs from
the <code><a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a></code> context. Also renders any dependencies of the <code><a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code> that
weren't already rendered.</p><p>This operation is idempotent; calling <code><a href="TensorFlow-Tensor.html#v:render">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">TensorKind</a> v =&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Build.html#t: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">MonadBuild</a> m, <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> v)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v <a href="../bytestring-0.10.8.2/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>A <code><a href="TensorFlow-Tensor.html#t:SummaryTensor">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">MonadBuild</a> m =&gt; m [<a href="TensorFlow-Tensor.html#t:SummaryTensor">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">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">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">Value</a> <a href="../bytestring-0.10.8.2/Data-ByteString.html#t: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.10.1.0/Control-Monad.html#t: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 minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="TensorFlow-Tensor.html#v:toBuild">toBuild</a></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">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"><p id="control.i:TensorKind" class="caption collapser" onclick="toggleSection('i:TensorKind')">Instances</p><div id="section.i:TensorKind" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TensorKind:TensorKind:1" class="instance expander" onclick="toggleSection('i:ic:TensorKind:TensorKind:1')"></span> <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> <a href="TensorFlow-Build.html#t: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"><div id="section.i:ic:TensorKind:TensorKind:1" class="inst-details hide"><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">Build</a> a -&gt; <a href="TensorFlow-Build.html#t: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></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TensorKind:TensorKind:2" class="instance expander" onclick="toggleSection('i:ic:TensorKind:TensorKind:2')"></span> <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> <a href="TensorFlow-Tensor.html#t:Ref">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"><div id="section.i:ic:TensorKind:TensorKind:2" class="inst-details hide"><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">Ref</a> a -&gt; <a href="TensorFlow-Build.html#t: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></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TensorKind:TensorKind:3" class="instance expander" onclick="toggleSection('i:ic:TensorKind:TensorKind:3')"></span> <a href="TensorFlow-Tensor.html#t:TensorKind">TensorKind</a> <a href="TensorFlow-Tensor.html#t:Value">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"><div id="section.i:ic:TensorKind:TensorKind:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="