<!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><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/TensorFlow.ControlFlow.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">tensorflow-0.2.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-Build.html#t:MonadBuild">MonadBuild</a> m, <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m a -> m a</li><liclass="src short"><ahref="#v:group">group</a> :: (<ahref="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m <ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li><liclass="src short"><ahref="#v:noOp">noOp</a> :: <ahref="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li></ul></div><divid="interface"><h1id="g:1">Dependencies</h1><divclass="top"><pclass="src"><aid="v:withControlDependencies"class="def">withControlDependencies</a> :: (<ahref="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m a -> m a <ahref="src/TensorFlow.ControlFlow.html#withControlDependencies"class="link">Source</a><ahref="#v:withControlDependencies"class="selflink">#</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"><aid="v:group"class="def">group</a> :: (<ahref="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <ahref="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m <ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a><ahref="src/TensorFlow.ControlFlow.html#group"class="link">Source</a><ahref="#v:group"class="selflink">#</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"><aid="v:noOp"class="def">noOp</a> :: <ahref="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a><ahref="src/TensorFlow.ControlFlow.html#noOp"class="link">Source</a><ahref="#v:noOp"class="selflink">#</a></p><divclass="doc"><p>Does nothing. Only useful as a placeholder for control edges.</p></div></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>