mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-29 04:59:46 +01:00
3 lines
45 KiB
HTML
3 lines
45 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" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>TensorFlow.BuildOp</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">tensorflow-0.3.0.0: TensorFlow bindings.</span><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></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"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="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" title="TensorFlow.BuildOp">BuildResult</a> a => [<a href="../base-4.13.0.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a>] -> <a href="TensorFlow-Output.html#t:OpDef" title="TensorFlow.Output">OpDef</a> -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.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="../mtl-2.2.2/Control-Monad-Reader.html#t:ReaderT" title="Control.Monad.Reader">ReaderT</a> (<a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef" title="TensorFlow.Output">OpDef</a>) (<a href="../mtl-2.2.2/Control-Monad-State-Strict.html#t:State" title="Control.Monad.State.Strict">State</a> ResultState) a</li></ul></li><li class="src short"><a href="#v:pureOp">pureOp</a> :: <a href="TensorFlow-BuildOp.html#t:PureResult" title="TensorFlow.BuildOp">PureResult</a> a => [<a href="../base-4.13.0.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a>] -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> <a href="TensorFlow-Output.html#t:OpDef" title="TensorFlow.Output">OpDef</a> -> a</li><li class="src short"><a href="#v:eqLengthGuard">eqLengthGuard</a> :: [(<a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a>, [(<a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a>, <a href="../base-4.13.0.0/Data-Int.html#t:Int" title="Data.Int">Int</a>)])] -> <a href="../base-4.13.0.0/Data-Bool.html#t:Bool" title="Data.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 -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.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" title="Tenso
|
||
|
Throws an error with a descriptive message if not.</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:BuildInputs" class="def">BuildInputs</a> a <span class="keyword">where</span> <a href="src/TensorFlow.BuildOp.html#BuildInputs" class="link">Source</a> <a href="#t:BuildInputs" class="selflink">#</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:buildInputs" class="def">buildInputs</a> :: a -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>] <a href="src/TensorFlow.BuildOp.html#buildInputs" class="link">Source</a> <a href="#v:buildInputs" class="selflink">#</a></p></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:BuildInputs">Instances</h4><details id="i:BuildInputs" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:BuildInputs:BuildInputs:1"></span> <a href="TensorFlow-BuildOp.html#t:BuildInputs" title="TensorFlow.BuildOp">BuildInputs</a> a => <a href="TensorFlow-BuildOp.html#t:BuildInputs" title="TensorFlow.BuildOp">BuildInputs</a> [a]</span> <a href="src/TensorFlow.BuildOp.html#line-290" class="link">Source</a> <a href="#t:BuildInputs" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:BuildInputs:BuildInputs:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:buildInputs">buildInputs</a> :: [a] -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>] <a href="src/TensorFlow.BuildOp.html#buildInputs" class="link">Source</a> <a href="#v:buildInputs" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:BuildInputs:BuildInputs:2"></span> <a href="TensorFlow-BuildOp.html#t:BuildInputs" title="TensorFlow.BuildOp">BuildInputs</a> (<a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) as)</span> <a href="src/TensorFlow.BuildOp.html#line-298" class="link">Source</a> <a href="#t:BuildInputs" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:ic:BuildInputs:BuildInputs:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:buildInputs">buildInputs</a> :: <a href="TensorFlow-Types.html#t:ListOf" title="TensorFlow.Types">ListOf</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v) as -> <a href="TensorFlow-Build.html#t:Build" title="TensorFlow.Build">Build</a> [<a href="TensorFlow-Output.html#t:Output" title="TensorFlow.Output">Output</a>] <a href="src/TensorFlow.BuildOp.html#buildInputs" class="link">Source</a> <a href="#v:buildInputs" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:BuildInputs:BuildInputs:3"></span> <a href="TensorFlow-BuildOp.html#t:BuildInputs" title="TensorFlow.BuildOp">BuildInputs</a> (<a href="TensorFlow-Tensor.html#t:Tensor" title="TensorFlow.Tensor">Tensor</a> v a)</span> <a href="src/TensorFlow.BuildOp.html#line-293" class="link">Source</a> <a href="#t:BuildInputs" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td co
|
||
|
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.23.0</p></div></body></html>
|