mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-05 01:09:46 +01:00
6 lines
No EOL
15 KiB
HTML
6 lines
No EOL
15 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" /><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 => <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -> f</li><li class="src short"><a href="#v:buildListOp">buildListOp</a> :: <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f => [<a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -> 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>)])] -> <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-98" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a => <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> [a]</span> <a href="src/TensorFlow-BuildOp.html#line-101" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (<a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a> a)</span> <a href="src/TensorFlow-BuildOp.html#line-89" class="link">Source</a></td><td class="doc empty"> </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:OpResult">OpResult</a> (a1, a2)</span> <a href="src/TensorFlow-BuildOp.html#line-45" class="link">Source</a></td><td class="doc empty"> </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-95" class="link">Source</a></td><td class="doc empty"> </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-92" class="link">Source</a></td><td class="doc empty"> </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:OpResult">OpResult</a> a3) => <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2, a3)</span> <a href="src/TensorFlow-BuildOp.html#line-48" class="link">Source</a></td><td class="doc empty"> </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:OpResult">OpResult</a> a3, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a4) => <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2, a3, a4)</span> <a href="src/TensorFlow-BuildOp.html#line-51" class="link">Source</a></td><td class="doc empty"> </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:OpResult">OpResult</a> a3, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a4, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a5) => <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2, a3, a4, a5)</span> <a href="src/TensorFlow-BuildOp.html#line-55" class="link">Source</a></td><td class="doc empty"> </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:OpResult">OpResult</a> a3, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a4, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a5, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a6) => <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2, a3, a4, a5, a6)</span> <a href="src/TensorFlow-BuildOp.html#line-63" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:BuildOp" class="def">BuildOp</a> f <a href="src/TensorFlow-BuildOp.html#BuildOp" class="link">Source</a></p><div class="doc"><p>Class of types that can be used as op functions.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src">buildOp'</p></div><div class="subs instances"><p id="control.i:BuildOp" class="caption collapser" onclick="toggleSection('i:BuildOp')">Instances</p><div id="section.i:BuildOp" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span> <a href="src/TensorFlow-BuildOp.html#line-150" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</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-162" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (<a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a> a)</span> <a href="src/TensorFlow-BuildOp.html#line-153" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (<a href="TensorFlow-Build.html#t:Build">Build</a> a)</span> <a href="src/TensorFlow-BuildOp.html#line-189" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> ([<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a] -> f)</span> <a href="src/TensorFlow-BuildOp.html#line-198" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (<a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a> a -> f)</span> <a href="src/TensorFlow-BuildOp.html#line-192" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a -> f)</span> <a href="src/TensorFlow-BuildOp.html#line-195" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t2) => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (t1, t2)</span> <a href="src/TensorFlow-BuildOp.html#line-165" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</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-159" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</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-156" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t2, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t3) => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (t1, t2, t3)</span> <a href="src/TensorFlow-BuildOp.html#line-168" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t2, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t3, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t4) => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (t1, t2, t3, t4)</span> <a href="src/TensorFlow-BuildOp.html#line-171" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t2, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t3, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t4, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t5) => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (t1, t2, t3, t4, t5)</span> <a href="src/TensorFlow-BuildOp.html#line-175" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t1, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t2, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t3, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t4, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t5, <a href="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> t6) => <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> (t1, t2, t3, t4, t5, t6)</span> <a href="src/TensorFlow-BuildOp.html#line-179" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:buildOp" class="def">buildOp</a> :: <a href="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f => <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -> f <a href="src/TensorFlow-BuildOp.html#buildOp" class="link">Source</a></p><div class="doc"><p>Starts an operation that returns a structured set of tensors
|
|
(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"> </td></tr><tr><td class="src">=> [<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">-> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> f</td><td class="doc empty"> </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>)])] -> <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> |