<!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.ParsedOp</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-ParsedOp.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.ParsedOp</p></div><divid="description"><pclass="caption">Description</p><divclass="doc"><p>This module helps parse the proto OpDef into a Haskell type which is more
Associated with the type of the attribute.</p></dd><dtclass="src"><aname="v:inferredTypeAttrs"class="def">inferredTypeAttrs</a> :: [<ahref="TensorFlow-OpGen-ParsedOp.html#t:Attr">Attr</a><ahref="TensorFlow-OpGen-ParsedOp.html#t:TypeParam">TypeParam</a>]</dt><ddclass="doc"><p>Attributes that are type parameters.</p></dd><dtclass="src"><aname="v:inferredListSizeAttrs"class="def">inferredListSizeAttrs</a> :: [<ahref="TensorFlow-OpGen-ParsedOp.html#t:Attr">Attr</a> (NonEmpty <ahref="TensorFlow-OpGen-ParsedOp.html#t:Name">Name</a>)]</dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:parsedOpIsMonadic"class="def">parsedOpIsMonadic</a> :: <ahref="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><ddclass="doc"><p>Whether this op is stateful or takes a stateful input. Such ops
Build action).</p></dd></dl><divclass="clear"></div></div></td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:Name"class="def">Name</a></p><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:Name"class="def">Name</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:haskellName"class="def">haskellName</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:HaskellName">HaskellName</a></dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:tfName"class="def">tfName</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:TFName">TFName</a></dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">newtype</span><aname="t:HaskellName"class="def">HaskellName</a></p><divclass="doc"><p>A name that's appropriate for a variable in a Haskell source file.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:HaskellName"class="def">HaskellName</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:unHaskellName"class="def">unHaskellName</a> :: Text</dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">newtype</span><aname="t:TFName"class="def">TFName</a></p><divclass="doc"><p>A raw name as specified in the OpDef proto.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:TFName"class="def">TFName</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:unTFName"class="def">unTFName</a> :: Text</dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr></table></div><divclass="subs instances"><pid="control.i:TFName"class="caption collapser"onclick="toggleSection('i:TFName')">Instances</p><divid="section.i:TFName"class="show"><table><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="../base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a><ahref="TensorFlow-OpGen-ParsedOp.html#t:TFName">TFName</a></span></td><tdclass="doc empty"> </td></tr><tr><tdclass="src clearfix"><spanclass="inst-left"><ahref="../base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a><ahref="TensorFlow-OpGen-ParsedOp.html#t:TFName">TFName</a></span></td><tdclass="doc empty"> </td></tr></table></div></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:Attr"class="def">Attr</a> a</p><divclass="doc"><p>A named attribute, associated with some information about it.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:Attr"class="def">Attr</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:attrName"class="def">attrName</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:Name">Name</a></dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:attrDescription"class="def">attrDescription</a> :: Text</dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:attrInfo"class="def">attrInfo</a> :: a</dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:AttrType"class="def">AttrType</a></p><divclass="doc"><p>The type of an attribute.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:AttrSingle"class="def">AttrSingle</a><ahref="TensorFlow-OpGen-ParsedOp.html#t:AttrBaseType">AttrBaseType</a></td><tdclass="doc empty"> </td></tr><tr><
If <code><ahref="../base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, then any type is acceptable.</p></dd></dl><divclass="clear"></div></div></td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:ParsedArg"class="def">ParsedArg</a></p><divclass="doc"><p>An input or output argument (Tensor) for an op.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:ParsedArg"class="def">ParsedArg</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:parsedArgName"class="def">parsedArgName</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:Name">Name</a></dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:parsedArgDescription"class="def">parsedArgDescription</a> :: Text</dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:parsedArgCase"class="def">parsedArgCase</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:ParsedArgCase">ParsedArgCase</a></dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:ParsedArgCase"class="def">ParsedArgCase</a></p><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:SimpleArg"class="def">SimpleArg</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:argType"class="def">argType</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:ArgType">ArgType</a></dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:argCaseKind"class="def">argCaseKind</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:ArgKind">ArgKind</a></dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr><tr><tdclass="src"><aname="v:ListArg"class="def">ListArg</a></td><tdclass="doc empty"> </td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:argLength"class="def">argLength</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:Name">Name</a></dt><ddclass="doc"><p>The attribute that specifies this list's length.</p></dd><dtclass="src"><aname="v:argType"class="def">argType</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:ArgType">ArgType</a></dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:argCaseKind"class="def">argCaseKind</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:ArgKind">ArgKind</a></dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr><tr><tdclass="src"><aname="v:MixedListArg"class="def">MixedListArg</a></td><tdclass="doc"><p>A heterogeneous list.</p></td></tr><tr><tdcolspan="2"><divclass="subs fields"><pclass="caption">Fields</p><dl><dtclass="src"><aname="v:argTypeAttr"class="def">argTypeAttr</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:Name">Name</a></dt><ddclass="doc empty"> </dd><dtclass="src"><aname="v:argCaseKind"class="def">argCaseKind</a> :: <ahref="TensorFlow-OpGen-ParsedOp.html#t:ArgKind">ArgKind</a></dt><ddclass="doc empty"> </dd></dl><divclass="clear"></div></div></td></tr><tr><tdclass="src"><aname="v:ResourceArg"class="def">ResourceArg</a></td><tdclass="doc empty"> </td></tr></table></div></div><divclass="top"><pclass="src"><spanclass="keyword">data</span><aname="t:ArgType"class="def">ArgType</a></p><divclass="doc"><p>The type of an argument.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aname="v:ArgTypeFixed"class="def">ArgTypeFixed</a><ahref="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-Types.html#t:DataType">DataType</a></td><tdclass="doc"><p>A fixed type.</p></td></tr><tr><tdclass="src"><aname="v:ArgTypeAttr"class="def">ArgTypeAttr</a><ahref="TensorFlow-OpGen-ParsedOp.html#t:Name">Name</a></td><tdclass="doc"><p>A type that depends o