1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-12-26 11:39:46 +01:00
tensorflow-haskell/docs/haddock/tensorflow-0.1.0.0/TensorFlow-BuildOp.html

6 lines
17 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");};
//]]>
2017-04-08 16:14:47 +02:00
</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]
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>