<!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.OpGen</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scriptsrc="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/TensorFlow.OpGen.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">tensorflow-opgen-0.1.0.0: Code generation for TensorFlow operations.</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.OpGen</p></div><divid="description"><pclass="caption">Description</p><divclass="doc"><p>Rendering of TensorFlow operations as Haskell functions.</p><p>The basic type signature generated for each op is:</p><pre>{constraints} => {mandatory attrs} -> {input tensors} -> {output tensors}</pre><p>where:</p><ul><li><code>{mandatory attrs}</code> is of the form <code>A_1 -> ... -> 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 -> ... -> 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 "pure" ops, and
it takes a <code>Tensor Ref</code> or <code>Tensor v ResourceHandle</code> as input, or if it's
explicitly marked "Stateful" 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><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><spanclass="keyword">data</span><aid="t:OpGenFlags"class="def">OpGenFlags</a><ahref="src/TensorFlow.OpGen.html#OpGenFlags"class="link">Source</a><ahref="#t:OpGenFlags"class="selflink">#</a></p><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aid="v:OpGenFlags"class="def">OpGenFlags</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><ul><li><dfnclass="src"><aid="v:outputFile"class="def">outputFile</a> :: <ahref="../base-4.9.1.0/Data-String.html#t:String">String</a></dfn><divclass="doc empty"> </div></li><li><dfnclass="src"><aid="v:prefix"class="def">prefix</a> :: <ahref="../base-4.9.1.0/Data-String.html#t:String">String</a></dfn><divclass="doc empty"> </div></li><li><dfnclass="src"><aid="v:excludeList"class="def">excludeList</a> :: <ahref="../base-4.9.1.0/Data-String.html#t:String">String</a></dfn><divclass="doc empty"> </div></li></ul></div></td></tr></table></div></div><divclass="top"><pclass="src"><aid="v:docOpList"class="def">docOpList</a> :: <ahref="TensorFlow-OpGen.html#t:OpGenFlags">OpGenFlags</a> -><ahref="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-OpDef.html#t:OpList">OpList</a> -> Doc <ahref="src/TensorFlow.OpGen.html#docOpList"class="link">Source</a><ahref="#v:docOpList"class="selflink">#</a></p></div><divclass="top"><pclass="src"><aid="v:flagParser"class="def">flagParser</a> :: Parser <ahref="TensorFlow-OpGen.html#t:OpGenFlags">OpGenFlags</a><ahref="src/TensorFlow.OpGen.html#flagParser"class="link">Source</a><ahref="#v:flagParser"class="selflink">#</a></p></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>