<!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:BuildResult">BuildResult</a> a <spanclass="keyword">where</span><ulclass="subs"><li><ahref="#v:buildResult">buildResult</a> :: Result a</li></ul></li><liclass="src short"><ahref="#v:buildOp">buildOp</a> :: <ahref="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a => [<ahref="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a> -><ahref="TensorFlow-Build.html#t:Build">Build</a> a</li><liclass="src short"><spanclass="keyword">class</span><ahref="#t:PureResult">PureResult</a> a <spanclass="keyword">where</span><ulclass="subs"><li><ahref="#v:pureResult">pureResult</a> :: <ahref="../transformers-0.4.2.0/Control-Monad-Trans-Reader.html#t:ReaderT">ReaderT</a> (<ahref="TensorFlow-Build.html#t:Build">Build</a><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a>) (<ahref="../transformers-0.4.2.0/Control-Monad-Trans-State-Strict.html#t:State">State</a> ResultState) a</li></ul></li><liclass="src short"><ahref="#v:pureOp">pureOp</a> :: <ahref="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a => [<ahref="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -><ahref="TensorFlow-Build.html#t:Build">Build</a><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a> -> a</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><liclass="src short"><spanclass="keyword">class</span><ahref="#t:BuildInputs">BuildInputs</a> a <spanclass="keyword">where</span><ulclass="subs"><li><ahref="#v:buildInputs">buildInputs</a> :: a -><ahref="TensorFlow-Build.html#t:Build">Build</a> [<ahref="TensorFlow-Output.html#t:Output">Output</a>]</li></ul></li><liclass="src short"><spanclass="keyword">type</span><ahref="#t:OpParams">OpParams</a> = <ahref="TensorFlow-Output.html#t:OpDef">OpDef</a> -><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a></li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><spanclass="keyword">class</span><aname="t:BuildResult"class="def">BuildResult</a> a <spanclass="keyword">where</span></p><divclass="doc"><p>Class of types that can be used as op outputs.</p></div><divclass="subs methods"><pclass="caption">Methods</p><pclass="src"><aname="v:buildResult"class="def">buildResult</a> :: Result a</p></div><divclass="subs instances"><pid="control.i:BuildResult"class="caption collapser"onclick="toggleSection('i:BuildResult')">Instances</p><divid="section.i:BuildResult"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a><ahref="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a></span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</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:BuildResult">BuildResult</a> a =><ahref="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> [a]
Throws an error with a descriptive message if not.</p></div></div><divclass="top"><pclass="src"><spanclass="keyword">class</span><aname="t:BuildInputs"class="def">BuildInputs</a> a <spanclass="keyword">where</span></p><divclass="subs methods"><pclass="caption">Methods</p><pclass="src"><aname="v:buildInputs"class="def">buildInputs</a> :: a -><ahref="TensorFlow-Build.html#t:Build">Build</a> [<ahref="TensorFlow-Output.html#t:Output">Output</a>]</p></div><divclass="subs instances"><pid="control.i:BuildInputs"class="caption collapser"onclick="toggleSection('i:BuildInputs')">Instances</p><divid="section.i:BuildInputs"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a><ahref="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a></span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> a =><ahref="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> [a]</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> (<ahref="TensorFlow-Types.html#t:ListOf">ListOf</a> (<ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v) as)</span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> (<ahref="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a)</span></td><tdclass="doc empty"> </td></tr></table></div></div></div><divclass="top"><pclass="src"><spanclass="keyword">type</span><aname="t:OpParams"class="def">OpParams</a> = <ahref="TensorFlow-Output.html#t:OpDef">OpDef</a> -><ahref="TensorFlow-Output.html#t:OpDef">OpDef</a></p><divclass="doc"><p>Parameters to build an op (for example, the node name or optional attributes).
TODO: be more type safe.</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>