1
0
mirror of https://github.com/tensorflow/haskell.git synced 2024-06-29 07:58:33 +02:00
tensorflow-haskell/docs/haddock/tensorflow-0.1.0.0/TensorFlow-BuildOp.html
2017-04-08 07:14:47 -07:00

6 lines
17 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="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:BuildResult">BuildResult</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:buildResult">buildResult</a> :: Result a</li></ul></li><li class="src short"><a href="#v:buildOp">buildOp</a> :: <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a =&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; <a href="TensorFlow-Build.html#t:Build">Build</a> a</li><li class="src short"><span class="keyword">class</span> <a href="#t:PureResult">PureResult</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:pureResult">pureResult</a> :: <a href="../transformers-0.4.2.0/Control-Monad-Trans-Reader.html#t:ReaderT">ReaderT</a> (<a href="TensorFlow-Build.html#t:Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a>) (<a href="../transformers-0.4.2.0/Control-Monad-Trans-State-Strict.html#t:State">State</a> ResultState) a</li></ul></li><li class="src short"><a href="#v:pureOp">pureOp</a> :: <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a =&gt; [<a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -&gt; a</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><li class="src short"><span class="keyword">class</span> <a href="#t:BuildInputs">BuildInputs</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:buildInputs">buildInputs</a> :: a -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> [<a href="TensorFlow-Output.html#t:Output">Output</a>]</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:OpParams">OpParams</a> = <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -&gt; <a href="TensorFlow-Output.html#t:OpDef">OpDef</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:BuildResult" class="def">BuildResult</a> a <span class="keyword">where</span></p><div class="doc"><p>Class of types that can be used as op outputs.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:buildResult" class="def">buildResult</a> :: Result a</p></div><div class="subs instances"><p id="control.i:BuildResult" class="caption collapser" onclick="toggleSection('i:BuildResult')">Instances</p><div id="section.i:BuildResult" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> <a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> [a]</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> v, <a href="TensorFlow-Types.html#t:TensorTypes">TensorTypes</a> as) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (<a href="TensorFlow-Tensor.html#t:TensorList">TensorList</a> v as)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Tensor.html#t:Rendered">Rendered</a> v =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a3) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2, a3)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a3, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a4) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2, a3, a4)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a3, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a4, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a5) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2, a3, a4, a5)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a3, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a4, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a5, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a6) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2, a3, a4, a5, a6)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a3, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a4, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a5, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a6, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a7) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2, a3, a4, a5, a6, a7)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a1, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a2, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a3, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a4, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a5, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a6, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a7, <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> a8) =&gt; <a href="TensorFlow-BuildOp.html#t:BuildResult">BuildResult</a> (a1, a2, a3, a4, a5, a6, a7, a8)</span></td><td class="doc empty">&nbsp;</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:BuildResult">BuildResult</a> a =&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; <a href="TensorFlow-Build.html#t:Build">Build</a> a</p></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:PureResult" class="def">PureResult</a> a <span class="keyword">where</span></p><div class="doc"><p>Class of types that can be used as op outputs.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:pureResult" class="def">pureResult</a> :: <a href="../transformers-0.4.2.0/Control-Monad-Trans-Reader.html#t:ReaderT">ReaderT</a> (<a href="TensorFlow-Build.html#t:Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a>) (<a href="../transformers-0.4.2.0/Control-Monad-Trans-State-Strict.html#t:State">State</a> ResultState) a</p></div><div class="subs instances"><p id="control.i:PureResult" class="caption collapser" onclick="toggleSection('i:PureResult')">Instances</p><div id="section.i:PureResult" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> [a]</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-Types.html#t:TensorTypes">TensorTypes</a> as =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (<a href="TensorFlow-Tensor.html#t:TensorList">TensorList</a> <a href="TensorFlow-Build.html#t:Build">Build</a> as)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="TensorFlow-Build.html#t:Build">Build</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a3) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2, a3)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a3, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a4) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2, a3, a4)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a3, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a4, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a5) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2, a3, a4, a5)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a3, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a4, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a5, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a6) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2, a3, a4, a5, a6)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a3, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a4, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a5, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a6, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a7) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2, a3, a4, a5, a6, a7)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a1, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a2, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a3, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a4, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a5, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a6, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a7, <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a8) =&gt; <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> (a1, a2, a3, a4, a5, a6, a7, a8)</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:pureOp" class="def">pureOp</a> :: <a href="TensorFlow-BuildOp.html#t:PureResult">PureResult</a> a =&gt; [<a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>] -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -&gt; a</p></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></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 class="top"><p class="src"><span class="keyword">class</span> <a name="t:BuildInputs" class="def">BuildInputs</a> a <span class="keyword">where</span></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:buildInputs" class="def">buildInputs</a> :: a -&gt; <a href="TensorFlow-Build.html#t:Build">Build</a> [<a href="TensorFlow-Output.html#t:Output">Output</a>]</p></div><div class="subs instances"><p id="control.i:BuildInputs" class="caption collapser" onclick="toggleSection('i:BuildInputs')">Instances</p><div id="section.i:BuildInputs" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> <a href="TensorFlow-Output.html#t:ResourceHandle">ResourceHandle</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> a =&gt; <a href="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> [a]</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> (<a href="TensorFlow-Types.html#t:ListOf">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v) as)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="TensorFlow-BuildOp.html#t:BuildInputs">BuildInputs</a> (<a href="TensorFlow-Tensor.html#t:Tensor">Tensor</a> v a)</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:OpParams" class="def">OpParams</a> = <a href="TensorFlow-Output.html#t:OpDef">OpDef</a> -&gt; <a href="TensorFlow-Output.html#t:OpDef">OpDef</a></p><div class="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><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>