mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-27 05:19:45 +01:00
6 lines
No EOL
7.9 KiB
HTML
6 lines
No EOL
7.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" /><title>TensorFlow.OpGen.AttrVal</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
|
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-OpGen-AttrVal.html");};
|
|
//]]>
|
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-opgen-0.1.0.0: Code generation for TensorFlow operations.</p></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.AttrVal</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Wrapping of TensorFlow attributes into Haskell entities.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:AttrDef">AttrDef</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:AttrCase">AttrCase</a> f<ul class="subs"><li>= <a href="#v:AttrBytes">AttrBytes</a> (f <a href="../bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>)</li><li>| <a href="#v:AttrInt64">AttrInt64</a> (f <a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>)</li><li>| <a href="#v:AttrFloat">AttrFloat</a> (f <a href="../base-4.8.2.0/Prelude.html#t:Float">Float</a>)</li><li>| <a href="#v:AttrBool">AttrBool</a> (f <a href="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a>)</li><li>| <a href="#v:AttrType">AttrType</a> (f <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-Types.html#t:DataType">DataType</a>)</li><li>| <a href="#v:AttrShape">AttrShape</a> (f <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-TensorShape.html#t:TensorShapeProto">TensorShapeProto</a>)</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:AttrTemplate">AttrTemplate</a><ul class="subs"><li>= <a href="#v:AttrSingle">AttrSingle</a> (<a href="TensorFlow-OpGen-AttrVal.html#t:AttrCase">AttrCase</a> <a href="TensorFlow-OpGen-AttrVal.html#t:Template">Template</a>)</li><li>| <a href="#v:AttrList">AttrList</a> (<a href="TensorFlow-OpGen-AttrVal.html#t:AttrCase">AttrCase</a> [])</li><li>| <a href="#v:AttrTensor">AttrTensor</a> UnusedTensor</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Template">Template</a> a</li><li class="src short"><a href="#v:attrDef">attrDef</a> :: <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-OpDef.html#t:OpDef-39-AttrDef">OpDef'AttrDef</a> -> <a href="TensorFlow-OpGen-AttrVal.html#t:AttrDef">AttrDef</a></li><li class="src short"><a href="#v:attrOriginal">attrOriginal</a> :: Lens' <a href="TensorFlow-OpGen-AttrVal.html#t:AttrDef">AttrDef</a> <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-OpDef.html#t:OpDef-39-AttrDef">OpDef'AttrDef</a></li><li class="src short"><a href="#v:attrTemplate">attrTemplate</a> :: Lens' <a href="TensorFlow-OpGen-AttrVal.html#t:AttrDef">AttrDef</a> <a href="TensorFlow-OpGen-AttrVal.html#t:AttrTemplate">AttrTemplate</a></li><li class="src short"><a href="#v:templateDefault">templateDefault</a> :: Lens' (<a href="TensorFlow-OpGen-AttrVal.html#t:Template">Template</a> a) (<a href="../base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:templateRestrictions">templateRestrictions</a> :: Lens' (<a href="TensorFlow-OpGen-AttrVal.html#t:Template">Template</a> a) [a]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AttrDef" class="def">AttrDef</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AttrCase" class="def">AttrCase</a> f</p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AttrBytes" class="def">AttrBytes</a> (f <a href="../bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrInt64" class="def">AttrInt64</a> (f <a href="../base-4.8.2.0/Data-Int.html#t:Int64">Int64</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrFloat" class="def">AttrFloat</a> (f <a href="../base-4.8.2.0/Prelude.html#t:Float">Float</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrBool" class="def">AttrBool</a> (f <a href="../base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrType" class="def">AttrType</a> (f <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-Types.html#t:DataType">DataType</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrShape" class="def">AttrShape</a> (f <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-TensorShape.html#t:TensorShapeProto">TensorShapeProto</a>)</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AttrTemplate" class="def">AttrTemplate</a></p><div class="doc"><p>Type-reified representation of TensorFlow AttrDef.
|
|
Initially limited to just the types in Op descriptors.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AttrSingle" class="def">AttrSingle</a> (<a href="TensorFlow-OpGen-AttrVal.html#t:AttrCase">AttrCase</a> <a href="TensorFlow-OpGen-AttrVal.html#t:Template">Template</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrList" class="def">AttrList</a> (<a href="TensorFlow-OpGen-AttrVal.html#t:AttrCase">AttrCase</a> [])</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AttrTensor" class="def">AttrTensor</a> UnusedTensor</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Template" class="def">Template</a> a</p><div class="doc"><p>Specifies the optional default value and a set of allowed values
|
|
for the given type.</p></div></div><div class="top"><p class="src"><a name="v:attrDef" class="def">attrDef</a> :: <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-OpDef.html#t:OpDef-39-AttrDef">OpDef'AttrDef</a> -> <a href="TensorFlow-OpGen-AttrVal.html#t:AttrDef">AttrDef</a></p></div><div class="top"><p class="src"><a name="v:attrOriginal" class="def">attrOriginal</a> :: Lens' <a href="TensorFlow-OpGen-AttrVal.html#t:AttrDef">AttrDef</a> <a href="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-OpDef.html#t:OpDef-39-AttrDef">OpDef'AttrDef</a></p></div><div class="top"><p class="src"><a name="v:attrTemplate" class="def">attrTemplate</a> :: Lens' <a href="TensorFlow-OpGen-AttrVal.html#t:AttrDef">AttrDef</a> <a href="TensorFlow-OpGen-AttrVal.html#t:AttrTemplate">AttrTemplate</a></p></div><div class="top"><p class="src"><a name="v:templateDefault" class="def">templateDefault</a> :: Lens' (<a href="TensorFlow-OpGen-AttrVal.html#t:Template">Template</a> a) (<a href="../base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</p></div><div class="top"><p class="src"><a name="v:templateRestrictions" class="def">templateRestrictions</a> :: Lens' (<a href="TensorFlow-OpGen-AttrVal.html#t:Template">Template</a> a) [a]</p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html> |