tensorflow-haskell/docs/haddock/tensorflow-0.3.0.0/TensorFlow-ControlFlow.html

3 lines
4.6 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.ControlFlow</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.ControlFlow.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.ControlFlow</p></div><div id="table-of-contents"><div id="contents-list"><p class="caption" onclick="window.scrollTo(0,0)">Contents</p><ul><li><a href="#g:1">Dependencies</a></li><li><a href="#g:2">Operations</a></li></ul></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:withControlDependencies">withControlDependencies</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t) =&gt; t -&gt; m a -&gt; m a</li><li class="src short"><a href="#v:group">group</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t) =&gt; t -&gt; m <a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">ControlNode</a></li><li class="src short"><a href="#v:noOp">noOp</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; m <a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">ControlNode</a></li></ul></details></div><div id="interface"><a href="#g:1" id="g:1"><h1>Dependencies</h1></a><div class="top"><p class="src"><a id="v:withControlDependencies" class="def">withControlDependencies</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t) =&gt; t -&gt; m a -&gt; m a <a href="src/TensorFlow.ControlFlow.html#withControlDependencies" class="link">Source</a> <a href="#v:withControlDependencies" class="selflink">#</a></p><div class="doc"><p>Modify a <code><a href="TensorFlow-Build.html#t:Build" title="TensorFlow.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><div class="top"><p class="src"><a id="v:group" class="def">group</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes" title="TensorFlow.Nodes">Nodes</a> t) =&gt; t -&gt; m <a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">ControlNode</a> <a href="src/TensorFlow.ControlFlow.html#group" class="link">Source</a> <a href="#v:group" class="selflink">#</a></p><div class="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><a href="#g:2" id="g:2"><h1>Operations</h1></a><div class="top"><p class="src"><a id="v:noOp" class="def">noOp</a> :: <a href="TensorFlow-Build.html#t:MonadBuild" title="TensorFlow.Build">MonadBuild</a> m =&gt; m <a href="TensorFlow-Output.html#t:ControlNode" title="TensorFlow.Output">ControlNode</a> <a href="src/TensorFlow.ControlFlow.html#noOp" class="link">Source</a> <a href="#v:noOp" class="selflink">#</a></p><div class="doc"><p>Does nothing. Only useful as a placeholder for control edges.</p></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>