1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-30 14:59:44 +01:00
tensorflow-haskell/docs/haddock/tensorflow-0.1.0.0/TensorFlow-Output.html

13 lines
22 KiB
HTML
Raw Normal View History

<!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.Output</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-Output.html");};
//]]>
2017-04-08 16:14:47 +02:00
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-0.1.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.Output</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Ops</a></li></ul></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">newtype</span> <a href="#t:ControlNode">ControlNode</a> = <a href="#v:ControlNode">ControlNode</a> {<ul class="subs"><li><a href="#v:unControlNode">unControlNode</a> :: <a href="TensorFlow-Output.html#t:NodeName">NodeName</a></li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Device">Device</a> = <a href="#v:Device">Device</a> {<ul class="subs"><li><a href="#v:deviceName">deviceName</a> :: Text</li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:NodeName">NodeName</a> = <a href="#v:NodeName">NodeName</a> {<ul class="subs"><li><a href="#v:unNodeName">unNodeName</a> :: Text</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:OpDef">OpDef</a> = <a href="#v:OpDef">OpDef</a> {<ul class="subs"><li><a href="#v:_opName">_opName</a> :: !<a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></li><li><a href="#v:_opType">_opType</a> :: !<a href="TensorFlow-Output.html#t:OpType">OpType</a></li><li><a href="#v:_opAttrs">_opAttrs</a> :: !(<a href="../containers-0.5.6.2/Data-Map-Lazy.html#t:Map">Map</a> Text <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-AttrValue.html#t:AttrValue">AttrValue</a>)</li><li><a href="#v:_opInputs">_opInputs</a> :: [<a href="TensorFlow-Output.html#t:Output">Output</a>]</li><li><a href="#v:_opControlInputs">_opControlInputs</a> :: [<a href="TensorFlow-Output.html#t:NodeName">NodeName</a>]</li></ul>}</li><li class="src short"><a href="#v:opName">opName</a> :: Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> <a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></li><li class="src short"><a href="#v:opType">opType</a> :: Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> <a href="TensorFlow-Output.html#t:OpType">OpType</a></li><li class="src short"><a href="#v:opAttr">opAttr</a> :: <a href="TensorFlow-Types.html#t:Attribute">Attribute</a> a =&gt; Text -&gt; Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> a</li><li class="src short"><a href="#v:opInputs">opInputs</a> :: Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> [<a href="TensorFlow-Output.html#t:Output">Output</a>]</li><li class="src short"><a href="#v:opControlInputs">opControlInputs</a> :: Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> [<a href="TensorFlow-Output.html#t:NodeName">NodeName</a>]</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:OpType">OpType</a> = <a href="#v:OpType">OpType</a> {<ul class="subs"><li><a href="#v:unOpType">unOpType</a> :: Text</li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:OutputIx">OutputIx</a> = <a href="#v:OutputIx">OutputIx</a> {<ul class="subs"><li><a href="#v:unOutputIx">unOutputIx</a> :: <a href="../base-4.8.2.0/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Output">Output</a> = <a href="#v:Output">Output</a> {<ul class="subs"><li><a href="#v:outputIndex">outputIndex</a> :: !<a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></li><li><a href="#v:outputNodeName">outputNodeName</a> :: !<a href="TensorFlow-Output.html#t:NodeName">NodeName</a></li></ul>}</li><li class="src short"><a href="#v:output">output</a> :: <a href="TensorFlow-Output.html#
valuable for causing side effects when they are run.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ControlNode" class="def">ControlNode</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unControlNode" class="def">unControlNode</a> :: <a href="TensorFlow-Output.html#t:NodeName">NodeName</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ControlNode" class="caption collapser" onclick="toggleSection('i:ControlNode')">Instances</p><div id="section.i:ControlNode" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(~) * a () =&gt; <a href="TensorFlow-Nodes.html#t:Fetchable">Fetchable</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> a</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:Device" class="def">Device</a></p><div class="doc"><p>A device that a node can be assigned to.
There's a naming convention where the device names
2017-04-08 16:14:47 +02:00
are constructed from job and replica names.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Device" class="def">Device</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:deviceName" class="def">deviceName</a> :: Text</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Device" class="caption collapser" onclick="toggleSection('i:Device')">Instances</p><div id="section.i:Device" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="TensorFlow-Output.html#t:Device">Device</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="TensorFlow-Output.html#t:Device">Device</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="TensorFlow-Output.html#t:Device">Device</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-String.html#t:IsString">IsString</a> <a href="TensorFlow-Output.html#t:Device">Device</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:1">Ops</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:NodeName" class="def">NodeName</a></p><div class="doc"><p>The name of a node in the graph. This corresponds to the proto field
NodeDef.name. Includes the scope prefix (if any) and a unique identifier
2017-04-08 16:14:47 +02:00
(if the node was implicitly named).</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:NodeName" class="def">NodeName</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unNodeName" class="def">unNodeName</a> :: Text</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:NodeName" class="caption collapser" onclick="toggleSection('i:NodeName')">Instances</p><div id="section.i:NodeName" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="TensorFlow-Output.html#t:NodeName">NodeName</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:OpDef" class="def">OpDef</a></p><div class="doc"><p>Op definition. This corresponds somewhat to the <code>NodeDef</code> proto.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OpDef" class="def">OpDef</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_opName" class="def">_opName</a> :: !<a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_opType" class="def">_opType</a> :: !<a href="TensorFlow-Output.html#t:OpType">OpType</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_opAttrs" class="def">_opAttrs</a> :: !(<a href="../containers-0.5.6.2/Data-Map-Lazy.html#t:Map">Map</a> Text <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-AttrValue.html#t:AttrValue">AttrValue</a>)</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_opInputs" class="def">_opInputs</a> :: [<a href="TensorFlow-Output.html#t:Output">Output</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_opControlInputs" class="def">_opControlInputs</a> :: [<a href="TensorFlow-Output.html#t:NodeName">NodeName</a>]</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OpDef" class="caption collapser" onclick="toggleSection('i:OpDef')">Instances</p><div id="section.i:OpDef" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:opName" class="def">opName</a> :: Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> <a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></p></div><div class="top"><p class="src"><a name="v:opType" class="def">opType</a> :: Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> <a href="TensorFlow-Output.html#t:OpType">OpType</a></p></div><div class="top"><p class="src"><a name="v:opAttr" class="def">opAttr</a> :: <a href="TensorFlow-Types.html#t:Attribute">Attribute</a> a =&gt; Text -&gt; Lens' <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> a</p></div><div class="top"><p class="src"><a name="v:opInputs" clas
NodeDef.op.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OpType" class="def">OpType</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unOpType" class="def">unOpType</a> :: Text</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OpType" class="caption collapser" onclick="toggleSection('i:OpType')">Instances</p><div id="section.i:OpType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="TensorFlow-Output.html#t:OpType">OpType</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="TensorFlow-Output.html#t:OpType">OpType</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="TensorFlow-Output.html#t:OpType">OpType</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-String.html#t:IsString">IsString</a> <a href="TensorFlow-Output.html#t:OpType">OpType</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:OutputIx" class="def">OutputIx</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OutputIx" class="def">OutputIx</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unOutputIx" class="def">unOutputIx</a> :: <a href="../base-4.8.2.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OutputIx" class="caption collapser" onclick="toggleSection('i:OutputIx')">Instances</p><div id="section.i:OutputIx" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Prelude.html#t:Enum">Enum</a> <a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Prelude.html#t:Num">Num</a> <a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Output" class="def">Output</a></p><div class="doc"><p>An output of a TensorFlow node.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Output" class="def">Output</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:outputIndex" class="def">outputIndex</a> :: !<a href="TensorFlow-Output.html#t:OutputIx">OutputIx</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:outputNodeName" class="def">outputNodeName</a> :: !<a href="TensorFlow-Output.html#t:NodeName">NodeName</a></dt>
ImplicitName, it will be assigned based on the opType plus a
2017-04-08 16:14:47 +02:00
unique identifier. Does not contain the &quot;scope&quot; prefix.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ExplicitName" class="def">ExplicitName</a> !Text</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ImplicitName" class="def">ImplicitName</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:PendingNodeName" class="caption collapser" onclick="toggleSection('i:PendingNodeName')">Instances</p><div id="section.i:PendingNodeName" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="../base-4.8.2.0/Data-String.html#t:IsString">IsString</a> <a href="TensorFlow-Output.html#t:PendingNodeName">PendingNodeName</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:ResourceHandle" class="def">ResourceHandle</a></p><div class="doc"><p>Opaque handle to a mutable resource in the graph. Typical such
resources are variables.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ResourceHandle" class="def">ResourceHandle</a> <a href="TensorFlow-Output.html#t:Output">Output</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:ResourceHandle" class="caption collapser" onclick="toggleSection('i:ResourceHandle')">Instances</p><div id="section.i:ResourceHandle" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> <a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> <a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>