<!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.BuildOp</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-BuildOp.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.BuildOp</p></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"><spanclass="keyword">class</span><ahref="#t:OpResult">OpResult</a> a</li><liclass="src short"><spanclass="keyword">class</span><ahref="#t:BuildOp">BuildOp</a> f</li><liclass="src short"><ahref="#v:buildOp">buildOp</a> :: <ahref="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f =><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a> -> f</li><liclass="src short"><ahref="#v:buildListOp">buildListOp</a> :: <ahref="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f => [<ahref="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a> -> f</li><liclass="src short"><ahref="#v:eqLengthGuard">eqLengthGuard</a> :: [(<ahref="../base-4.8.2.0/Data-String.html#t:String">String</a>, [(<ahref="../base-4.8.2.0/Data-String.html#t:String">String</a>, <ahref="../base-4.8.2.0/Data-Int.html#t:Int">Int</a>)])] -><ahref="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><spanclass="keyword">class</span><aname="t:OpResult"class="def">OpResult</a> a</p><divclass="doc"><p>Class of types that can be used as op outputs.</p></div><divclass="subs minimal"><pclass="caption">Minimal complete definition</p><pclass="src">toResult</p></div><divclass="subs instances"><pid="control.i:OpResult"class="caption collapser"onclick="toggleSection('i:OpResult')">Instances</p><divid="section.i:OpResult"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a><ahref="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a =><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> [a]</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a1, <ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a2) =><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (<ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a><ahref="TensorFlow-Tensor.html#t:Ref">Ref</a> a)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (<ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a><ahref="TensorFlow-Tensor.html#t:Value">Value</a> a)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a1, <ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a2, <ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a3) =><ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> (a1, a2, a3)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left">(<ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a1, <ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a2, <ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a3, <ahref="TensorFlow-BuildOp.html#t:OpResult">OpResult</a> a4) =><ahref="TensorFl
(singletons or tuples).</p></div></div><divclass="top"><pclass="src"><aname="v:buildListOp"class="def">buildListOp</a></p><divclass="subs arguments"><pclass="caption">Arguments</p><table><tr><tdclass="src">:: <ahref="TensorFlow-BuildOp.html#t:BuildOp">BuildOp</a> f</td><tdclass="doc empty"> </td></tr><tr><tdclass="src">=> [<ahref="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>]</td><tdclass="doc"><p>Cardinality of the corresponding list of tensors output.</p></td></tr><tr><tdclass="src">-><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src">-> f</td><tdclass="doc empty"> </td></tr></table></div><divclass="doc"><p>Starts an operation that returns a list of tensors.</p></div></div><divclass="top"><pclass="src"><aname="v:eqLengthGuard"class="def">eqLengthGuard</a> :: [(<ahref="../base-4.8.2.0/Data-String.html#t:String">String</a>, [(<ahref="../base-4.8.2.0/Data-String.html#t:String">String</a>, <ahref="../base-4.8.2.0/Data-Int.html#t:Int">Int</a>)])] -><ahref="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></p><divclass="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><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>