1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-17 08:29:44 +01:00
tensorflow-haskell/docs/haddock/tensorflow-0.1.0.0/TensorFlow-BuildOp.html

6 lines
14 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.BuildOp</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-BuildOp.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow-BuildOp.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.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.BuildOp</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">class</span> <a href="#t:OpResult">OpResult</a> a</li><li class="src short"><span class="keyword">class</span> <a href="#t:BuildOp">BuildOp</a> f</li><li class="src short"><a href="#v:buildOp">buildOp</a> :: <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f =&gt; <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -&gt; f</li><li class="src short"><a href="#v:buildListOp">buildListOp</a> :: <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f =&gt; [<a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -&gt; <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -&gt; f</li><li class="src short"><a href="#v:eqLengthGuard">eqLengthGuard</a> :: [(<a href="../base-4.8.2.0/Data-String.html#t:String">String</a>, [(<a href="../base-4.8.2.0/Data-String.html#t:String">String</a>, <a href="../base-4.8.2.0/Data-Int.html#t:Int">Int</a>)])] -&gt; <a href="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:OpResult" class="def">OpResult</a> a <a href="src/TensorFlow-BuildOp.html#OpResult" class="link">Source</a></p><div class="doc"><p>Class of types that can be used as op outputs.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src">toResult</p></div><div class="subs instances"><p id="control.i:OpResult" class="caption collapser" onclick="toggleSection('i:OpResult')">Instances</p><div id="section.i:OpResult" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span> <a href="src/TensorFlow-BuildOp.html#line-92" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a =&gt; <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> [a]</span> <a href="src/TensorFlow-BuildOp.html#line-95" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a2) =&gt; <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2)</span> <a href="src/TensorFlow-BuildOp.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Ref">Ref</a> a)</span> <a href="src/TensorFlow-BuildOp.html#line-89" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Tensor.html#t:Value">Value</a> a)</span> <a href="src/TensorFlow-BuildOp.html#line-86" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a2, <a href="TensorFlow-BuildOp.html#t:
(singletons or tuples).</p></div></div><div class="top"><p class="src"><a name="v:buildListOp" class="def">buildListOp</a> <a href="src/TensorFlow-BuildOp.html#buildListOp" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; [<a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>]</td><td class="doc"><p>Cardinality of the corresponding list of tensors output.</p></td></tr><tr><td class="src">-&gt; <a href="TensorFlow-Output.html#t:OpDef">OpDef</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; f</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Starts an operation that returns a list of tensors.</p></div></div><div class="top"><p class="src"><a name="v:eqLengthGuard" class="def">eqLengthGuard</a> :: [(<a href="../base-4.8.2.0/Data-String.html#t:String">String</a>, [(<a href="../base-4.8.2.0/Data-String.html#t:String">String</a>, <a href="../base-4.8.2.0/Data-Int.html#t:Int">Int</a>)])] -&gt; <a href="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/TensorFlow-BuildOp.html#eqLengthGuard" class="link">Source</a></p><div class="doc"><p>Returns true if all the integers in each tuple are identical.
Throws an error with a descriptive message if not.</p></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>