1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-27 05:19:45 +01:00
tensorflow-haskell/docs/haddock/tensorflow-opgen-0.3.0.0/TensorFlow-OpGen.html
jcmartin 6b19e54722
Update to haddock files for tensorflow-0.3 package (TensorFlow 2.3.0). (#269)
* Update README to refer to 2.3.0-gpu.
* Remove old package documentation from haddock directory.
2020-11-13 12:21:27 -08:00

10 lines
No EOL
4.9 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.OpGen</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-opgen-0.3.0.0: Code generation for TensorFlow operations.</span><ul class="links" id="page-menu"><li><a href="src/TensorFlow.OpGen.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.OpGen</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Rendering of TensorFlow operations as Haskell functions.</p><p>The basic type signature generated for each op is:</p><pre>{constraints} =&gt; {mandatory attrs} -&gt; {input tensors} -&gt; {output tensors}</pre><p>where:</p><ul><li><code>{mandatory attrs}</code> is of the form <code>A_1 -&gt; ... -&gt; A_N</code>, where each <code>A</code> is an
op attribute that doesn't have a default and can't be inferred from other
inputs.</li><li><code>{constraints}</code> restrict the type parameters of the input and output tensors
(for example: <code>TensorType</code> or <code>OneOf</code>).</li><li><code>{input tensors}</code> is of the form <code>T_1 -&gt; ... -&gt; T_N</code>, where each <code>T</code> is of
the form <code>Tensor Ref a</code> or <code>Tensor v a</code> (or a list of one of those types),
and <code>a</code> is either a concrete type or a (constrained) type variable.</li><li><code>{output tensors}</code> is of the form <code>(T_1,...,T_N)</code> for &quot;pure&quot; ops, and
<code>Build (T_1,...,T_N)</code> for &quot;stateful&quot; ops. An op is considered &quot;stateful&quot; if
it takes a <code>Tensor Ref</code> or <code>Tensor v ResourceHandle</code> as input, or if it's
explicitly marked &quot;Stateful&quot; in its <code>REGISTER_OP</code> definition. (If there
are no outputs, it is either <code>ControlNode</code> or <code>Build ControlNode</code>.)</li></ul></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:OpGenFlags" class="def">OpGenFlags</a> <a href="src/TensorFlow.OpGen.html#OpGenFlags" class="link">Source</a> <a href="#t:OpGenFlags" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:OpGenFlags" class="def">OpGenFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:outputFile" class="def">outputFile</a> :: <a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:prefix" class="def">prefix</a> :: <a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:excludeList" class="def">excludeList</a> :: <a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><a id="v:docOpList" class="def">docOpList</a> :: <a href="TensorFlow-OpGen.html#t:OpGenFlags" title="TensorFlow.OpGen">OpGenFlags</a> -&gt; <a href="../tensorflow-proto-0.3.0.0/Proto-Tensorflow-Core-Framework-OpDef.html#t:OpList" title="Proto.Tensorflow.Core.Framework.OpDef">OpList</a> -&gt; Doc <a href="src/TensorFlow.OpGen.html#docOpList" class="link">Source</a> <a href="#v:docOpList" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:flagParser" class="def">flagParser</a> :: Parser <a href="TensorFlow-OpGen.html#t:OpGenFlags" title="TensorFlow.OpGen">OpGenFlags</a> <a href="src/TensorFlow.OpGen.html#flagParser" class="link">Source</a> <a href="#v:flagParser" class="selflink">#</a></p></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>