<!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><scripttype="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-OpGen.html");};
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><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