<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>TensorFlow.ControlFlow</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-ControlFlow.html");};
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">tensorflow-0.1.0.0: TensorFlow bindings.</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">TensorFlow.ControlFlow</p></div><divid="table-of-contents"><pclass="caption">Contents</p><ul><li><ahref="#g:1">Dependencies</a></li><li><ahref="#g:2">Operations</a></li></ul></div><divid="synopsis"><pid="control.syn"class="caption expander"onclick="toggleSection('syn')">Synopsis</p><ulid="section.syn"class="hide"onclick="toggleSection('syn')"><liclass="src short"><ahref="#v:withControlDependencies">withControlDependencies</a> :: <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => t -><ahref="TensorFlow-Build.html#t:Build">Build</a> a -><ahref="TensorFlow-Build.html#t:Build">Build</a> a</li><liclass="src short"><ahref="#v:group">group</a> :: <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => t -><ahref="TensorFlow-Build.html#t:Build">Build</a><ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li><liclass="src short"><ahref="#v:identity">identity</a> :: <ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a =><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a</li><liclass="src short"><ahref="#v:noOp">noOp</a> :: <ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li><liclass="src short"><ahref="#v:named">named</a> :: <ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a => Text -><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a</li></ul></div><divid="interface"><h1id="g:1">Dependencies</h1><divclass="top"><pclass="src"><aname="v:withControlDependencies"class="def">withControlDependencies</a> :: <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => t -><ahref="TensorFlow-Build.html#t:Build">Build</a> a -><ahref="TensorFlow-Build.html#t:Build">Build</a> a</p><divclass="doc"><p>Modify a <code><ahref="TensorFlow-Build.html#t:Build">Build</a></code> action, such that all new ops rendered in it will depend
on the nodes in the first argument.</p></div></div><divclass="top"><pclass="src"><aname="v:group"class="def">group</a> :: <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t => t -><ahref="TensorFlow-Build.html#t:Build">Build</a><ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></p><divclass="doc"><p>Create an op that groups multiple operations.</p><p>When this op finishes, all ops in the input <code>n</code> have finished. This op has
no output.</p></div></div><h1id="g:2">Operations</h1><divclass="top"><pclass="src"><aname="v:identity"class="def">identity</a> :: <ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a =><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a</p><divclass="doc"><p>Returns a <code><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code> with the same shape and contents as the input.</p></div></div><divclass="top"><pclass="src"><aname="v:noOp"class="def">noOp</a> :: <ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></p><divclass="doc"><p>Does nothing. Only useful as a placeholder for control edges.</p></div></div><divclass="top"><pclass="src"><aname="v:named"class="def">named</a> :: <ahref="TensorFlow-Types.html#t:TensorType">TensorType</a> a => Text -><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a</p><divclass="doc"><p>Returns a <code><ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a></code> with a given name and the same shape and contents as
the input.</p><p>TODO(judahjacobson): This breaks when used with uninitialize <code>Tensor Ref</code>s,
since <code>RefIdentity</code> doesn't have SetAllowsUninitializedInput(). Look into
whether we can change that op.</p></div></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>