mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-23 03:19:44 +01:00
Update checked in haddock (#205)
This commit is contained in:
parent
85bf0bb12c
commit
65f374a019
527 changed files with 71749 additions and 74817 deletions
|
@ -1,4 +1,4 @@
|
|||
<!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> (Index - /)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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> (Index - /)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - /</p><table><tr><td class="src">/:/</td><td class="module"><a href="./tensorflow-0.1.0.2/TensorFlow-Types.html#v:-47-:-47-">TensorFlow.Types</a></td></tr><tr><td class="src">/=</td><td class="module"><a href="./tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">TensorFlow.Types</a>, <a href="./tensorflow-0.1.0.2/TensorFlow-Core.html#t:-47--61-">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - /</p><table><tr><td class="src">/:/</td><td class="module"><a href="./tensorflow-0.2.0.0/TensorFlow-Types.html#v:-47-:-47-">TensorFlow.Types</a></td></tr><tr><td class="src">/=</td><td class="module"><a href="./tensorflow-0.2.0.0/TensorFlow-Types.html#t:-47--61-">TensorFlow.Types</a>, <a href="./tensorflow-0.2.0.0/TensorFlow-Core.html#t:-47--61-">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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> (Index - :)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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> (Index - :)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - :</p><table><tr><td class="src">:/</td><td class="module"><a href="./tensorflow-0.1.0.2/TensorFlow-Types.html#v::-47-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - :</p><table><tr><td class="src">:/</td><td class="module"><a href="./tensorflow-0.2.0.0/TensorFlow-Types.html#v::-47-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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> (Index - \)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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> (Index - \)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - \</p><table><tr><td class="src">\\</td><td class="module"><a href="./tensorflow-0.1.0.2/TensorFlow-Types.html#t:-92--92-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - \</p><table><tr><td class="src">\\</td><td class="module"><a href="./tensorflow-0.2.0.0/TensorFlow-Types.html#t:-92--92-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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> (Index - J)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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> (Index - J)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - J</p><table><tr><td class="src">job</td><td class="module"><a href="./tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#v:job">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="src">JobDef</td><td> </td></tr><tr><td class="alt">1 (Data Constructor)</td><td class="module"><a href="./tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#v:JobDef">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="alt">2 (Type/Class)</td><td class="module"><a href="./tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#t:JobDef">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="src">JobDef'TasksEntry</td><td> </td></tr><tr><td class="alt">1 (Data Constructor)</td><td class="module"><a href="./tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#v:JobDef-39-TasksEntry">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="alt">2 (Type/Class)</td><td class="module"><a href="./tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#t:JobDef-39-TasksEntry">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="src">jobName</td><td class="module"><a href="./tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Protobuf-TensorflowServer.html#v:jobName">Proto.Tensorflow.Core.Protobuf.TensorflowServer</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - J</p><table><tr><td class="src">job</td><td class="module"><a href="./tensorflow-proto-0.2.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#v:job">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="src">JobDef</td><td> </td></tr><tr><td class="alt">1 (Data Constructor)</td><td class="module"><a href="./tensorflow-proto-0.2.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#v:JobDef">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="alt">2 (Type/Class)</td><td class="module"><a href="./tensorflow-proto-0.2.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#t:JobDef">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="src">JobDef'TasksEntry</td><td> </td></tr><tr><td class="alt">1 (Data Constructor)</td><td class="module"><a href="./tensorflow-proto-0.2.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#v:JobDef-39-TasksEntry">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="alt">2 (Type/Class)</td><td class="module"><a href="./tensorflow-proto-0.2.0.0/Proto-Tensorflow-Core-Protobuf-Cluster.html#t:JobDef-39-TasksEntry">Proto.Tensorflow.Core.Protobuf.Cluster</a></td></tr><tr><td class="src">jobName</td><td class="module"><a href="./tensorflow-proto-0.2.0.0/Proto-Tensorflow-Core-Protobuf-TensorflowServer.html#v:jobName">Proto.Tensorflow.Core.Protobuf.TensorflowServer</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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> (Index - Z)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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> (Index - Z)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - Z</p><table><tr><td class="src">zeroInitializedVariable</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Variable.html#v:zeroInitializedVariable">TensorFlow.Variable</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Ops.html#v:zeroInitializedVariable">TensorFlow.Ops</a></td></tr><tr><td class="src">zeroInitializedVariable'</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Variable.html#v:zeroInitializedVariable-39-">TensorFlow.Variable</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Ops.html#v:zeroInitializedVariable-39-">TensorFlow.Ops</a></td></tr><tr><td class="src">zeros</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Ops.html#v:zeros">TensorFlow.Ops</a></td></tr><tr><td class="src">zerosLike</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:zerosLike">TensorFlow.GenOps.Core</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Ops.html#v:zerosLike">TensorFlow.Ops</a></td></tr><tr><td class="src">zerosLike'</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:zerosLike-39-">TensorFlow.GenOps.Core</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.1.0.0/TensorFlow-Ops.html#v:zerosLike-39-">TensorFlow.Ops</a></td></tr><tr><td class="src">zeta</td><td class="module"><a href="./tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:zeta">TensorFlow.GenOps.Core</a></td></tr><tr><td class="src">zeta'</td><td class="module"><a href="./tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:zeta-39-">TensorFlow.GenOps.Core</a></td></tr><tr><td class="src">zipDataset</td><td class="module"><a href="./tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:zipDataset">TensorFlow.GenOps.Core</a></td></tr><tr><td class="src">zipDataset'</td><td class="module"><a href="./tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:zipDataset-39-">TensorFlow.GenOps.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - Z</p><table><tr><td class="src">zeroInitializedVariable</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Variable.html#v:zeroInitializedVariable">TensorFlow.Variable</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Ops.html#v:zeroInitializedVariable">TensorFlow.Ops</a></td></tr><tr><td class="src">zeroInitializedVariable'</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Variable.html#v:zeroInitializedVariable-39-">TensorFlow.Variable</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Ops.html#v:zeroInitializedVariable-39-">TensorFlow.Ops</a></td></tr><tr><td class="src">zeros</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Ops.html#v:zeros">TensorFlow.Ops</a></td></tr><tr><td class="src">zerosLike</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-core-ops-0.2.0.0/TensorFlow-GenOps-Core.html#v:zerosLike">TensorFlow.GenOps.Core</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Ops.html#v:zerosLike">TensorFlow.Ops</a></td></tr><tr><td class="src">zerosLike'</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="./tensorflow-core-ops-0.2.0.0/TensorFlow-GenOps-Core.html#v:zerosLike-39-">TensorFlow.GenOps.Core</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="./tensorflow-ops-0.2.0.0/TensorFlow-Ops.html#v:zerosLike-39-">TensorFlow.Ops</a></td></tr><tr><td class="src">zeta</td><td class="module"><a href="./tensorflow-core-ops-0.2.0.0/TensorFlow-GenOps-Core.html#v:zeta">TensorFlow.GenOps.Core</a></td></tr><tr><td class="src">zeta'</td><td class="module"><a href="./tensorflow-core-ops-0.2.0.0/TensorFlow-GenOps-Core.html#v:zeta-39-">TensorFlow.GenOps.Core</a></td></tr><tr><td class="src">zipDataset</td><td class="module"><a href="./tensorflow-core-ops-0.2.0.0/TensorFlow-GenOps-Core.html#v:zipDataset">TensorFlow.GenOps.Core</a></td></tr><tr><td class="src">zipDataset'</td><td class="module"><a href="./tensorflow-core-ops-0.2.0.0/TensorFlow-GenOps-Core.html#v:zipDataset-39-">TensorFlow.GenOps.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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> (Index)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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> (Index)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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 empty"> </p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-J.html">J</a></li><li><a href="doc-index-K.html">K</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-Q.html">Q</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-Z.html">Z</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,7 +1,7 @@
|
|||
// Haddock JavaScript utilities
|
||||
|
||||
var rspace = /\s\s+/g,
|
||||
rtrim = /^\s+|\s+$/g;
|
||||
rtrim = /^\s+|\s+$/g;
|
||||
|
||||
function spaced(s) { return (" " + s + " ").replace(rspace, " "); }
|
||||
function trim(s) { return s.replace(rtrim, ""); }
|
||||
|
@ -52,17 +52,17 @@ function toggleSection(id)
|
|||
{
|
||||
var b = toggleShow(document.getElementById("section." + id));
|
||||
toggleCollapser(document.getElementById("control." + id), b);
|
||||
rememberCollapsed(id, b);
|
||||
rememberCollapsed(id);
|
||||
return b;
|
||||
}
|
||||
|
||||
var collapsed = {};
|
||||
function rememberCollapsed(id, b)
|
||||
function rememberCollapsed(id)
|
||||
{
|
||||
if(b)
|
||||
if(collapsed[id])
|
||||
delete collapsed[id]
|
||||
else
|
||||
collapsed[id] = null;
|
||||
collapsed[id] = true;
|
||||
|
||||
var sections = [];
|
||||
for(var i in collapsed)
|
||||
|
@ -109,136 +109,6 @@ function getCookie(name) {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var max_results = 75; // 50 is not enough to search for map in the base libraries
|
||||
var shown_range = null;
|
||||
var last_search = null;
|
||||
|
||||
function quick_search()
|
||||
{
|
||||
perform_search(false);
|
||||
}
|
||||
|
||||
function full_search()
|
||||
{
|
||||
perform_search(true);
|
||||
}
|
||||
|
||||
|
||||
function perform_search(full)
|
||||
{
|
||||
var text = document.getElementById("searchbox").value.toLowerCase();
|
||||
if (text == last_search && !full) return;
|
||||
last_search = text;
|
||||
|
||||
var table = document.getElementById("indexlist");
|
||||
var status = document.getElementById("searchmsg");
|
||||
var children = table.firstChild.childNodes;
|
||||
|
||||
// first figure out the first node with the prefix
|
||||
var first = bisect(-1);
|
||||
var last = (first == -1 ? -1 : bisect(1));
|
||||
|
||||
if (first == -1)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "No results found, displaying all";
|
||||
}
|
||||
else if (first == 0 && last == children.length - 1)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "";
|
||||
}
|
||||
else if (last - first >= max_results && !full)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "More than " + max_results + ", press Search to display";
|
||||
}
|
||||
else
|
||||
{
|
||||
// decide what you need to clear/show
|
||||
if (shown_range)
|
||||
setclass(shown_range[0], shown_range[1], "indexrow");
|
||||
setclass(first, last, "indexshow");
|
||||
shown_range = [first, last];
|
||||
table.className = "indexsearch";
|
||||
status.innerHTML = "";
|
||||
}
|
||||
|
||||
|
||||
function setclass(first, last, status)
|
||||
{
|
||||
for (var i = first; i <= last; i++)
|
||||
{
|
||||
children[i].className = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// do a binary search, treating 0 as ...
|
||||
// return either -1 (no 0's found) or location of most far match
|
||||
function bisect(dir)
|
||||
{
|
||||
var first = 0, finish = children.length - 1;
|
||||
var mid, success = false;
|
||||
|
||||
while (finish - first > 3)
|
||||
{
|
||||
mid = Math.floor((finish + first) / 2);
|
||||
|
||||
var i = checkitem(mid);
|
||||
if (i == 0) i = dir;
|
||||
if (i == -1)
|
||||
finish = mid;
|
||||
else
|
||||
first = mid;
|
||||
}
|
||||
var a = (dir == 1 ? first : finish);
|
||||
var b = (dir == 1 ? finish : first);
|
||||
for (var i = b; i != a - dir; i -= dir)
|
||||
{
|
||||
if (checkitem(i) == 0) return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
// from an index, decide what the result is
|
||||
// 0 = match, -1 is lower, 1 is higher
|
||||
function checkitem(i)
|
||||
{
|
||||
var s = getitem(i).toLowerCase().substr(0, text.length);
|
||||
if (s == text) return 0;
|
||||
else return (s > text ? -1 : 1);
|
||||
}
|
||||
|
||||
|
||||
// from an index, get its string
|
||||
// this abstracts over alternates
|
||||
function getitem(i)
|
||||
{
|
||||
for ( ; i >= 0; i--)
|
||||
{
|
||||
var s = children[i].firstChild.firstChild.data;
|
||||
if (s.indexOf(' ') == -1)
|
||||
return s;
|
||||
}
|
||||
return ""; // should never be reached
|
||||
}
|
||||
}
|
||||
|
||||
function setSynopsis(filename) {
|
||||
if (parent.window.synopsis && parent.window.synopsis.location) {
|
||||
if (parent.window.synopsis.location.replace) {
|
||||
// In Firefox this avoids adding the change to the history.
|
||||
parent.window.synopsis.location.replace(filename);
|
||||
} else {
|
||||
parent.window.synopsis.location = filename;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function addMenuItem(html) {
|
||||
var menu = document.getElementById("page-menu");
|
||||
if (menu) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -88,6 +88,11 @@ pre, code, kbd, samp, tt, .src {
|
|||
font-size: 182%; /* 24pt */
|
||||
}
|
||||
|
||||
#module-header .caption sup {
|
||||
font-size: 70%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.info {
|
||||
font-size: 85%; /* 11pt */
|
||||
}
|
||||
|
@ -322,10 +327,6 @@ div#style-menu-holder {
|
|||
}
|
||||
|
||||
#synopsis {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-frame #synopsis {
|
||||
display: block;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
|
@ -393,6 +394,7 @@ div#style-menu-holder {
|
|||
background: #f0f0f0;
|
||||
padding: 0 0.5em 0.2em;
|
||||
margin: 0 -0.5em 0 0;
|
||||
-moz-user-select: none;
|
||||
}
|
||||
#interface .src .selflink {
|
||||
border-left: 1px solid #919191;
|
||||
|
@ -609,4 +611,8 @@ div#style-menu-holder {
|
|||
float: right;
|
||||
}
|
||||
|
||||
:target {
|
||||
background-color: #ffff00;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +0,0 @@
|
|||
<!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.Internal.VarInt</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-Internal-VarInt.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow.Internal.VarInt.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">TensorFlow.Internal.VarInt</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Originally taken from internal proto-lens code.</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"><a href="#v:getVarInt">getVarInt</a> :: Parser <a href="../base-4.9.1.0/Data-Word.html#t:Word64">Word64</a></li><li class="src short"><a href="#v:putVarInt">putVarInt</a> :: <a href="../base-4.9.1.0/Data-Word.html#t:Word64">Word64</a> -> <a href="../binary-0.8.3.0/Data-Binary-Builder.html#t:Builder">Builder</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:getVarInt" class="def">getVarInt</a> :: Parser <a href="../base-4.9.1.0/Data-Word.html#t:Word64">Word64</a> <a href="src/TensorFlow.Internal.VarInt.html#getVarInt" class="link">Source</a> <a href="#v:getVarInt" class="selflink">#</a></p><div class="doc"><p>Decode an unsigned varint.</p></div></div><div class="top"><p class="src"><a id="v:putVarInt" class="def">putVarInt</a> :: <a href="../base-4.9.1.0/Data-Word.html#t:Word64">Word64</a> -> <a href="../binary-0.8.3.0/Data-Binary-Builder.html#t:Builder">Builder</a> <a href="src/TensorFlow.Internal.VarInt.html#putVarInt" class="link">Source</a> <a href="#v:putVarInt" class="selflink">#</a></p><div class="doc"><p>Encode a Word64.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,9 +0,0 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings.</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="description"><h1>tensorflow-0.1.0.2: TensorFlow bindings.</h1><div class="doc"><p>This library provides an interface to the TensorFlow
|
||||
bindings. <a href="TensorFlow-Core.html">TensorFlow.Core</a> contains the base API for
|
||||
building and running computational graphs. Other packages
|
||||
such as <code>tensorflow-ops</code> contain bindings to the actual
|
||||
computational kernels.</p><p>For more documentation and examples, see
|
||||
<a href="https://github.com/tensorflow/haskell#readme">https://github.com/tensorflow/haskell#readme</a></p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">TensorFlow</span><ul id="section.n.1" class="show"><li><span class="module"><a href="TensorFlow-Build.html">TensorFlow.Build</a></span></li><li><span class="module"><a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></span></li><li><span class="module"><a href="TensorFlow-ControlFlow.html">TensorFlow.ControlFlow</a></span></li><li><span class="module"><a href="TensorFlow-Core.html">TensorFlow.Core</a></span></li><li><span id="control.n.1.5" class="module collapser" onclick="toggleSection('n.1.5')">Internal</span><ul id="section.n.1.5" class="show"><li><span class="module"><a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></span></li><li><span class="module"><a href="TensorFlow-Internal-VarInt.html">TensorFlow.Internal.VarInt</a></span> Encoders and decoders for varint types.</li></ul></li><li><span class="module"><a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></span></li><li><span class="module"><a href="TensorFlow-Output.html">TensorFlow.Output</a></span></li><li><span class="module"><a href="TensorFlow-Session.html">TensorFlow.Session</a></span></li><li><span class="module"><a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></span></li><li><span class="module"><a href="TensorFlow-Types.html">TensorFlow.Types</a></span></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Build</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Build</p></div><div id="interface"><h1>Graph node types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Build.html#t:ControlNode" target="main">ControlNode</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Build.html#t:Unique" target="main">Unique</a></p></div><h1>Ops</h1><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:explicitName" target="main">explicitName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:implicitName" target="main">implicitName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opDef" target="main">opDef</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opDefWithName" target="main">opDefWithName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opName" target="main">opName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opType" target="main">opType</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opAttr" target="main">opAttr</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opInputs" target="main">opInputs</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:opControlInputs" target="main">opControlInputs</a></p></div><h1>The Build monad</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Build.html#t:GraphState" target="main">GraphState</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:renderedNodeDefs" target="main">renderedNodeDefs</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Build.html#t:BuildT" target="main">BuildT</a> m a</p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Build.html#t:Build" target="main">Build</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Build.html#t:MonadBuild" target="main">MonadBuild</a> m</p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:addInitializer" target="main">addInitializer</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:hoistBuildT" target="main">hoistBuildT</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:evalBuildT" target="main">evalBuildT</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:runBuildT" target="main">runBuildT</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:asGraphDef" target="main">asGraphDef</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:addGraphDef" target="main">addGraphDef</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:flushInitializers" target="main">flushInitializers</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:flushNodeBuffer" target="main">flushNodeBuffer</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:summaries" target="main">summaries</a></p></div><h1>Creating and looking up Ops</h1><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:getOrAddOp" target="main">getOrAddOp</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:addNewOp" target="main">addNewOp</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:encodeOutput" target="main">encodeOutput</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:lookupNode" target="main">lookupNode</a></p></div><h1>Modifying all nodes in a Build action</h1><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:withStateLens" target="main">withStateLens</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:withDevice" target="main">withDevice</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:withNameScope" target="main">withNameScope</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Build.html#v:withNodeDependencies" target="main">withNodeDependencies</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.BuildOp</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.BuildOp</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-BuildOp.html#t:BuildResult" target="main">BuildResult</a> a</p></div><div class="top"><p class="src"><a href="TensorFlow-BuildOp.html#v:buildOp" target="main">buildOp</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-BuildOp.html#t:PureResult" target="main">PureResult</a> a</p></div><div class="top"><p class="src"><a href="TensorFlow-BuildOp.html#v:pureOp" target="main">pureOp</a></p></div><div class="top"><p class="src"><a href="TensorFlow-BuildOp.html#v:eqLengthGuard" target="main">eqLengthGuard</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-BuildOp.html#t:BuildInputs" target="main">BuildInputs</a> a</p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-BuildOp.html#t:OpParams" target="main">OpParams</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.ControlFlow</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.ControlFlow</p></div><div id="interface"><h1>Dependencies</h1><div class="top"><p class="src"><a href="TensorFlow-ControlFlow.html#v:withControlDependencies" target="main">withControlDependencies</a></p></div><div class="top"><p class="src"><a href="TensorFlow-ControlFlow.html#v:group" target="main">group</a></p></div><h1>Operations</h1><div class="top"><p class="src"><a href="TensorFlow-ControlFlow.html#v:noOp" target="main">noOp</a></p></div></div></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +0,0 @@
|
|||
<!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.Internal.FFI</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Internal.FFI</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" target="main">TensorFlowException</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Internal-FFI.html#t:Session" target="main">Session</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:withSession" target="main">withSession</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:extendGraph" target="main">extendGraph</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:run" target="main">run</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Internal-FFI.html#t:TensorData" target="main">TensorData</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:setSessionConfig" target="main">setSessionConfig</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:setSessionTarget" target="main">setSessionTarget</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:getAllOpList" target="main">getAllOpList</a></p></div><h1>Internal helper.</h1><div class="top"><p class="src"><a href="TensorFlow-Internal-FFI.html#v:useProtoAsVoidPtrLen" target="main">useProtoAsVoidPtrLen</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Internal.VarInt</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Internal.VarInt</p></div><div id="interface"><div class="top"><p class="src"><a href="TensorFlow-Internal-VarInt.html#v:getVarInt" target="main">getVarInt</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Internal-VarInt.html#v:putVarInt" target="main">putVarInt</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Nodes</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Nodes</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Nodes" target="main">Nodes</a> t</p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Nodes.html#t:Fetchable" target="main">Fetchable</a> t a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Nodes.html#t:Fetch" target="main">Fetch</a> a</p></div><div class="top"><p class="src"><a href="TensorFlow-Nodes.html#v:nodesUnion" target="main">nodesUnion</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Nodes.html#v:fetchTensorVector" target="main">fetchTensorVector</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Output</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Output</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:ControlNode" target="main">ControlNode</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:Device" target="main">Device</a></p></div><h1>Ops</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:NodeName" target="main">NodeName</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:OpDef" target="main">OpDef</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Output.html#v:opName" target="main">opName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Output.html#v:opType" target="main">opType</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Output.html#v:opAttr" target="main">opAttr</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Output.html#v:opInputs" target="main">opInputs</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Output.html#v:opControlInputs" target="main">opControlInputs</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:OpType" target="main">OpType</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:OutputIx" target="main">OutputIx</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:Output" target="main">Output</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Output.html#v:output" target="main">output</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Output.html#t:PendingNodeName" target="main">PendingNodeName</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Session</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Session</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Session.html#t:Session" target="main">Session</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Session.html#t:SessionT" target="main">SessionT</a> m a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Session.html#t:Options" target="main">Options</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:sessionConfig" target="main">sessionConfig</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:sessionTarget" target="main">sessionTarget</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:sessionTracer" target="main">sessionTracer</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:runSession" target="main">runSession</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:runSessionWithOptions" target="main">runSessionWithOptions</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Session.html#t:MonadBuild" target="main">MonadBuild</a> m</p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:extend" target="main">extend</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:addGraphDef" target="main">addGraphDef</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:run" target="main">run</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:runWithFeeds" target="main">runWithFeeds</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:run_" target="main">run_</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:runWithFeeds_" target="main">runWithFeeds_</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Session.html#v:asyncProdNodes" target="main">asyncProdNodes</a></p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Tensor</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Tensor</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Tensor.html#t:Tensor" target="main">Tensor</a> v a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Tensor.html#t:Value" target="main">Value</a> a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Tensor.html#t:Ref" target="main">Ref</a> a</p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:value" target="main">value</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:renderValue" target="main">renderValue</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Tensor.html#t:Feed" target="main">Feed</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Tensor.html#t:Rendered" target="main">Rendered</a> t</p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:tensorNodeName" target="main">tensorNodeName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:feed" target="main">feed</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:tensorFromName" target="main">tensorFromName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:tensorValueFromName" target="main">tensorValueFromName</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:tensorRefFromName" target="main">tensorRefFromName</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Tensor.html#t:TensorList" target="main">TensorList</a> v</p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:tensorListOutputs" target="main">tensorListOutputs</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:colocateWith" target="main">colocateWith</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:render" target="main">render</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:expr" target="main">expr</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:addSummary" target="main">addSummary</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Tensor.html#v:collectAllSummaries" target="main">collectAllSummaries</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Tensor.html#t:SummaryTensor" target="main">SummaryTensor</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Tensor.html#t:TensorKind" target="main">TensorKind</a> v</p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Tensor.html#t:ToTensor" target="main">ToTensor</a> t</p></div></div></body></html>
|
|
@ -1,4 +0,0 @@
|
|||
<!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.Types</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">TensorFlow.Types</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Types.html#t:TensorType" target="main">TensorType</a> a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:TensorData" target="main">TensorData</a> a</p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Types.html#t:TensorDataType" target="main">TensorDataType</a> s a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:Scalar" target="main">Scalar</a> a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:Shape" target="main">Shape</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Types.html#v:protoShape" target="main">protoShape</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Types.html#t:Attribute" target="main">Attribute</a> a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:DataType" target="main">DataType</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Types.html#t:ResourceHandle" target="main">ResourceHandle</a></p></div><h1>Lists</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:ListOf" target="main">ListOf</a> f as</p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Types.html#t:List" target="main">List</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Types.html#v:-47-:-47-" target="main">(/:/)</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:TensorTypeProxy" target="main">TensorTypeProxy</a> a</p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="TensorFlow-Types.html#t:TensorTypes" target="main">TensorTypes</a> ts</p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Types.html#t:TensorTypeList" target="main">TensorTypeList</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Types.html#v:fromTensorTypeList" target="main">fromTensorTypeList</a></p></div><div class="top"><p class="src"><a href="TensorFlow-Types.html#v:fromTensorTypes" target="main">fromTensorTypes</a></p></div><h1>Type constraints</h1><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Types.html#t:OneOf" target="main">OneOf</a> ts a</p></div><div class="top"><p class="src"><span class="keyword">type family</span> a <a href="#t:-47--61-">/=</a> b :: <a href="../base-4.9.1.0/Data-Kind.html#t:Constraint">Constraint</a> <span class="keyword">where ...</span></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Types.html#t:OneOfs" target="main">OneOfs</a> ts as</p></div><h2>Implementation of constraints</h2><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:TypeError" target="main">TypeError</a> a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="TensorFlow-Types.html#t:ExcludedCase" target="main">ExcludedCase</a></p></div><div class="top"><p class="src"><span class="keyword">type family</span> <a href="#t:NoneOf">NoneOf</a> ts a :: <a href="../base-4.9.1.0/Data-Kind.html#t:Constraint">Constraint</a> <span class="keyword">where ...</span></p></div><div class="top"><p class="src"><span class="keyword">type family</span> as <a href="#t:-92--92-">\\</a> bs <span class="keyword">where ...</span></p></div><div class="top"><p class="src"><span class="keyword">type family</span> <a href="#t:Delete">Delete</a> a as <span class="keyword">where ...</span></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="TensorFlow-Types.html#t:AllTensorTypes" target="main">AllTensorTypes</a></p></div></div></body></html>
|
|
@ -1,147 +0,0 @@
|
|||
<!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><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">-- Copyright 2016 TensorFlow authors.</span><span>
|
||||
</span><a name="line-2"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-3"></a><span class="hs-comment">-- Licensed under the Apache License, Version 2.0 (the "License");</span><span>
|
||||
</span><a name="line-4"></a><span class="hs-comment">-- you may not use this file except in compliance with the License.</span><span>
|
||||
</span><a name="line-5"></a><span class="hs-comment">-- You may obtain a copy of the License at</span><span>
|
||||
</span><a name="line-6"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-7"></a><span class="hs-comment">-- http://www.apache.org/licenses/LICENSE-2.0</span><span>
|
||||
</span><a name="line-8"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-9"></a><span class="hs-comment">-- Unless required by applicable law or agreed to in writing, software</span><span>
|
||||
</span><a name="line-10"></a><span class="hs-comment">-- distributed under the License is distributed on an "AS IS" BASIS,</span><span>
|
||||
</span><a name="line-11"></a><span class="hs-comment">-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span>
|
||||
</span><a name="line-12"></a><span class="hs-comment">-- See the License for the specific language governing permissions and</span><span>
|
||||
</span><a name="line-13"></a><span class="hs-comment">-- limitations under the License.</span><span>
|
||||
</span><a name="line-14"></a><span>
|
||||
</span><a name="line-15"></a><span class="hs-pragma">{-# LANGUAGE DataKinds #-}</span><span>
|
||||
</span><a name="line-16"></a><span class="hs-pragma">{-# LANGUAGE FlexibleContexts #-}</span><span>
|
||||
</span><a name="line-17"></a><span class="hs-pragma">{-# LANGUAGE FlexibleInstances #-}</span><span>
|
||||
</span><a name="line-18"></a><span class="hs-pragma">{-# LANGUAGE MultiParamTypeClasses #-}</span><span>
|
||||
</span><a name="line-19"></a><span class="hs-pragma">{-# LANGUAGE RankNTypes #-}</span><span>
|
||||
</span><a name="line-20"></a><span class="hs-pragma">{-# LANGUAGE ScopedTypeVariables #-}</span><span>
|
||||
</span><a name="line-21"></a><span class="hs-pragma">{-# LANGUAGE TypeFamilies #-}</span><span>
|
||||
</span><a name="line-22"></a><span class="hs-pragma">{-# LANGUAGE TypeOperators #-}</span><span>
|
||||
</span><a name="line-23"></a><span class="hs-pragma">{-# LANGUAGE UndecidableInstances #-}</span><span> </span><span class="hs-comment">-- For Fetchable (TensorExpr a)</span><span>
|
||||
</span><a name="line-24"></a><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Nodes</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-25"></a><span>
|
||||
</span><a name="line-26"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Control</span><span class="hs-operator">.</span><span class="hs-identifier">Applicative</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">liftA2</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">liftA3</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-27"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Functor</span><span class="hs-operator">.</span><span class="hs-identifier">Identity</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Identity</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-28"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Map</span><span class="hs-operator">.</span><span class="hs-identifier">Strict</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-29"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Monoid</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var"><></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-30"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Set</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Set</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-31"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Text</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-32"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Map</span><span class="hs-operator">.</span><span class="hs-identifier">Strict</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Map</span><span>
|
||||
</span><a name="line-33"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Set</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Set</span><span>
|
||||
</span><a name="line-34"></a><span>
|
||||
</span><a name="line-35"></a><span class="hs-keyword">import</span><span> </span><a href="TensorFlow.Build.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Build</span></a><span>
|
||||
</span><a name="line-36"></a><span class="hs-keyword">import</span><span> </span><a href="TensorFlow.Output.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Output</span></a><span>
|
||||
</span><a name="line-37"></a><span class="hs-keyword">import</span><span> </span><a href="TensorFlow.Tensor.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Tensor</span></a><span>
|
||||
</span><a name="line-38"></a><span class="hs-keyword">import</span><span> </span><a href="TensorFlow.Types.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Types</span></a><span>
|
||||
</span><a name="line-39"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><a href="TensorFlow.Internal.FFI.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Internal</span><span class="hs-operator">.</span><span class="hs-identifier">FFI</span></a><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">FFI</span><span>
|
||||
</span><a name="line-40"></a><span>
|
||||
</span><a name="line-41"></a><span class="hs-comment">-- | Types that contain ops which can be run.</span><span>
|
||||
</span><a name="line-42"></a><span class="hs-keyword">class</span><span> </span><a name="Nodes"><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier">Nodes</span></a></a><span> </span><a name="local-6989586621679125018"><a href="#local-6989586621679125018"><span class="hs-identifier">t</span></a></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-43"></a><span> </span><span class="hs-identifier">getNodes</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="#local-6989586621679125018"><span class="hs-identifier hs-type">t</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="TensorFlow.Build.html#Build"><span class="hs-identifier hs-type">Build</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Set</span><span> </span><a href="TensorFlow.Output.html#NodeName"><span class="hs-identifier hs-type">NodeName</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-44"></a><span>
|
||||
</span><a name="line-45"></a><span class="hs-comment">-- | Types that tensor representations (e.g. 'Tensor', 'ControlNode') can be</span><span>
|
||||
</span><a name="line-46"></a><span class="hs-comment">-- fetched into.</span><span>
|
||||
</span><a name="line-47"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-48"></a><span class="hs-comment">-- Includes collections of tensors (e.g. tuples).</span><span>
|
||||
</span><a name="line-49"></a><span class="hs-keyword">class</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125016"><span class="hs-identifier hs-type">t</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a name="Fetchable"><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier">Fetchable</span></a></a><span> </span><a name="local-6989586621679125016"><a href="#local-6989586621679125016"><span class="hs-identifier">t</span></a></a><span> </span><a name="local-6989586621679125017"><a href="#local-6989586621679125017"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-50"></a><span> </span><span class="hs-identifier">getFetch</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="#local-6989586621679125016"><span class="hs-identifier hs-type">t</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="TensorFlow.Build.html#Build"><span class="hs-identifier hs-type">Build</span></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-type">Fetch</span></a><span> </span><a href="#local-6989586621679125017"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-51"></a><span>
|
||||
</span><a name="line-52"></a><span class="hs-comment">-- | Fetch action. Keeps track of what needs to be fetched and how to decode</span><span>
|
||||
</span><a name="line-53"></a><span class="hs-comment">-- the fetched data.</span><span>
|
||||
</span><a name="line-54"></a><span class="hs-keyword">data</span><span> </span><a name="Fetch"><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier">Fetch</span></a></a><span> </span><a name="local-6989586621679125015"><a href="#local-6989586621679125015"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Fetch"><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier">Fetch</span></a></a><span>
|
||||
</span><a name="line-55"></a><span> </span><span class="hs-special">{</span><span> </span><span class="hs-comment">-- | Nodes to fetch</span><span>
|
||||
</span><a name="line-56"></a><span> </span><a name="fetches"><a href="TensorFlow.Nodes.html#fetches"><span class="hs-identifier">fetches</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Set</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
|
||||
</span><a name="line-57"></a><span> </span><span class="hs-comment">-- | Function to create an 'a' from the fetched data.</span><span>
|
||||
</span><a name="line-58"></a><span> </span><span class="hs-special">,</span><span> </span><a name="fetchRestore"><a href="TensorFlow.Nodes.html#fetchRestore"><span class="hs-identifier">fetchRestore</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Map</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><a href="TensorFlow.Internal.FFI.html#TensorData"><span class="hs-identifier hs-type">FFI</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">TensorData</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="#local-6989586621679125015"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-59"></a><span> </span><span class="hs-special">}</span><span>
|
||||
</span><a name="line-60"></a><span>
|
||||
</span><a name="line-61"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">Functor</span><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-type">Fetch</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-62"></a><span> </span><a name="local-3458764513820541101"><span class="hs-identifier">fmap</span></a><span> </span><a name="local-6989586621679125099"><a href="#local-6989586621679125099"><span class="hs-identifier">f</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-var">Fetch</span></a><span> </span><a name="local-6989586621679125100"><a href="#local-6989586621679125100"><span class="hs-identifier">fetch</span></a></a><span> </span><a name="local-6989586621679125101"><a href="#local-6989586621679125101"><span class="hs-identifier">restore</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-var">Fetch</span></a><span> </span><a href="#local-6989586621679125100"><span class="hs-identifier hs-var">fetch</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125099"><span class="hs-identifier hs-var">f</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="#local-6989586621679125101"><span class="hs-identifier hs-var">restore</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-63"></a><span>
|
||||
</span><a name="line-64"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">Applicative</span><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-type">Fetch</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-65"></a><span> </span><a name="local-3458764513820541680"><span class="hs-identifier">pure</span></a><span> </span><a name="local-6989586621679125094"><a href="#local-6989586621679125094"><span class="hs-identifier">x</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-var">Fetch</span></a><span> </span><span class="hs-identifier hs-var">Set</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">empty</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">const</span><span> </span><a href="#local-6989586621679125094"><span class="hs-identifier hs-var">x</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-66"></a><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-var">Fetch</span></a><span> </span><a name="local-6989586621679125095"><a href="#local-6989586621679125095"><span class="hs-identifier">fetch</span></a></a><span> </span><a name="local-6989586621679125096"><a href="#local-6989586621679125096"><span class="hs-identifier">restore</span></a></a><span> </span><a name="local-3458764513820541679"><span class="hs-operator"><*></span></a><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-var">Fetch</span></a><span> </span><a name="local-6989586621679125097"><a href="#local-6989586621679125097"><span class="hs-identifier">fetch'</span></a></a><span> </span><a name="local-6989586621679125098"><a href="#local-6989586621679125098"><span class="hs-identifier">restore'</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-67"></a><span> </span><a href="TensorFlow.Nodes.html#Fetch"><span class="hs-identifier hs-var">Fetch</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125095"><span class="hs-identifier hs-var">fetch</span></a><span> </span><span class="hs-operator hs-var"><></span><span> </span><a href="#local-6989586621679125097"><span class="hs-identifier hs-var">fetch'</span></a><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125096"><span class="hs-identifier hs-var">restore</span></a><span> </span><span class="hs-operator hs-var"><*></span><span> </span><a href="#local-6989586621679125098"><span class="hs-identifier hs-var">restore'</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-68"></a><span>
|
||||
</span><a name="line-69"></a><span class="hs-identifier">nodesUnion</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Monoid</span><span> </span><a href="#local-6989586621679125021"><span class="hs-identifier hs-type">b</span></a><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Traversable</span><span> </span><a href="#local-6989586621679125022"><span class="hs-identifier hs-type">t</span></a><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Applicative</span><span> </span><a href="#local-6989586621679125023"><span class="hs-identifier hs-type">f</span></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=></span><span> </span><a href="#local-6989586621679125022"><span class="hs-identifier hs-type">t</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125023"><span class="hs-identifier hs-type">f</span></a><span> </span><a href="#local-6989586621679125021"><span class="hs-identifier hs-type">b</span></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">-></span><span> </span><a href="#local-6989586621679125023"><span class="hs-identifier hs-type">f</span></a><span> </span><a href="#local-6989586621679125021"><span class="hs-identifier hs-type">b</span></a><span>
|
||||
</span><a name="line-70"></a><a name="nodesUnion"><a href="TensorFlow.Nodes.html#nodesUnion"><span class="hs-identifier">nodesUnion</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">fmap</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">foldMap</span><span> </span><span class="hs-identifier hs-var">id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">sequenceA</span><span>
|
||||
</span><a name="line-71"></a><span>
|
||||
</span><a name="line-72"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125090"><span class="hs-identifier hs-type">t1</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125091"><span class="hs-identifier hs-type">t2</span></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125090"><span class="hs-identifier hs-type">t1</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125091"><span class="hs-identifier hs-type">t2</span></a><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-73"></a><span> </span><a name="local-8214565720323899923"><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier">getNodes</span></a></a><span> </span><span class="hs-special">(</span><a name="local-6989586621679125092"><a href="#local-6989586621679125092"><span class="hs-identifier">x</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679125093"><a href="#local-6989586621679125093"><span class="hs-identifier">y</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Nodes.html#nodesUnion"><span class="hs-identifier hs-var">nodesUnion</span></a><span> </span><span class="hs-special">[</span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span> </span><a href="#local-6989586621679125092"><span class="hs-identifier hs-var">x</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span> </span><a href="#local-6989586621679125093"><span class="hs-identifier hs-var">y</span></a><span class="hs-special">]</span><span>
|
||||
</span><a name="line-74"></a><span>
|
||||
</span><a name="line-75"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125084"><span class="hs-identifier hs-type">t1</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125085"><span class="hs-identifier hs-type">t2</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125086"><span class="hs-identifier hs-type">t3</span></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125084"><span class="hs-identifier hs-type">t1</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125085"><span class="hs-identifier hs-type">t2</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125086"><span class="hs-identifier hs-type">t3</span></a><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-76"></a><span> </span><a name="local-8214565720323899923"><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier">getNodes</span></a></a><span> </span><span class="hs-special">(</span><a name="local-6989586621679125087"><a href="#local-6989586621679125087"><span class="hs-identifier">x</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679125088"><a href="#local-6989586621679125088"><span class="hs-identifier">y</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679125089"><a href="#local-6989586621679125089"><span class="hs-identifier">z</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Nodes.html#nodesUnion"><span class="hs-identifier hs-var">nodesUnion</span></a><span> </span><span class="hs-special">[</span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span> </span><a href="#local-6989586621679125087"><span class="hs-identifier hs-var">x</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span> </span><a href="#local-6989586621679125088"><span class="hs-identifier hs-var">y</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span> </span><a href="#local-6989586621679125089"><span class="hs-identifier hs-var">z</span></a><span class="hs-special">]</span><span>
|
||||
</span><a name="line-77"></a><span>
|
||||
</span><a name="line-78"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125078"><span class="hs-identifier hs-type">t1</span></a><span> </span><a href="#local-6989586621679125079"><span class="hs-identifier hs-type">a1</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125080"><span class="hs-identifier hs-type">t2</span></a><span> </span><a href="#local-6989586621679125081"><span class="hs-identifier hs-type">a2</span></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125078"><span class="hs-identifier hs-type">t1</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125080"><span class="hs-identifier hs-type">t2</span></a><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125079"><span class="hs-identifier hs-type">a1</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125081"><span class="hs-identifier hs-type">a2</span></a><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-79"></a><span> </span><a name="local-8214565720323899921"><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier">getFetch</span></a></a><span> </span><span class="hs-special">(</span><a name="local-6989586621679125082"><a href="#local-6989586621679125082"><span class="hs-identifier">x</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679125083"><a href="#local-6989586621679125083"><span class="hs-identifier">y</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">liftA2</span><span> </span><span class="hs-special">(</span><span class="hs-special">,</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var"><$></span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span> </span><a href="#local-6989586621679125082"><span class="hs-identifier hs-var">x</span></a><span> </span><span class="hs-operator hs-var"><*></span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span> </span><a href="#local-6989586621679125083"><span class="hs-identifier hs-var">y</span></a><span>
|
||||
</span><a name="line-80"></a><span>
|
||||
</span><a name="line-81"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125069"><span class="hs-identifier hs-type">t1</span></a><span> </span><a href="#local-6989586621679125070"><span class="hs-identifier hs-type">a1</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125071"><span class="hs-identifier hs-type">t2</span></a><span> </span><a href="#local-6989586621679125072"><span class="hs-identifier hs-type">a2</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125073"><span class="hs-identifier hs-type">t3</span></a><span> </span><a href="#local-6989586621679125074"><span class="hs-identifier hs-type">a3</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-82"></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125069"><span class="hs-identifier hs-type">t1</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125071"><span class="hs-identifier hs-type">t2</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125073"><span class="hs-identifier hs-type">t3</span></a><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679125070"><span class="hs-identifier hs-type">a1</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125072"><span class="hs-identifier hs-type">a2</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679125074"><span class="hs-identifier hs-type">a3</span></a><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-83"></a><span> </span><a name="local-8214565720323899921"><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier">getFetch</span></a></a><span> </span><span class="hs-special">(</span><a name="local-6989586621679125075"><a href="#local-6989586621679125075"><span class="hs-identifier">x</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679125076"><a href="#local-6989586621679125076"><span class="hs-identifier">y</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679125077"><a href="#local-6989586621679125077"><span class="hs-identifier">z</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-84"></a><span> </span><span class="hs-identifier hs-var">liftA3</span><span> </span><span class="hs-special">(</span><span class="hs-special">,</span><span class="hs-special">,</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var"><$></span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span> </span><a href="#local-6989586621679125075"><span class="hs-identifier hs-var">x</span></a><span> </span><span class="hs-operator hs-var"><*></span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span> </span><a href="#local-6989586621679125076"><span class="hs-identifier hs-var">y</span></a><span> </span><span class="hs-operator hs-var"><*></span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span> </span><a href="#local-6989586621679125077"><span class="hs-identifier hs-var">z</span></a><span>
|
||||
</span><a name="line-85"></a><span>
|
||||
</span><a name="line-86"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125068"><span class="hs-identifier hs-type">t</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><span class="hs-special">[</span><a href="#local-6989586621679125068"><span class="hs-identifier hs-type">t</span></a><span class="hs-special">]</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-87"></a><span> </span><a name="local-8214565720323899923"><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier">getNodes</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Nodes.html#nodesUnion"><span class="hs-identifier hs-var">nodesUnion</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">map</span><span> </span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span>
|
||||
</span><a name="line-88"></a><span>
|
||||
</span><a name="line-89"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125065"><span class="hs-identifier hs-type">t</span></a><span> </span><a href="#local-6989586621679125066"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><span class="hs-special">[</span><a href="#local-6989586621679125065"><span class="hs-identifier hs-type">t</span></a><span class="hs-special">]</span><span> </span><span class="hs-special">[</span><a href="#local-6989586621679125066"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">]</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-90"></a><span> </span><a name="local-8214565720323899921"><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier">getFetch</span></a></a><span> </span><a name="local-6989586621679125067"><a href="#local-6989586621679125067"><span class="hs-identifier">ts</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">sequenceA</span><span> </span><span class="hs-operator hs-var"><$></span><span> </span><span class="hs-identifier hs-var">mapM</span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span> </span><a href="#local-6989586621679125067"><span class="hs-identifier hs-var">ts</span></a><span>
|
||||
</span><a name="line-91"></a><span>
|
||||
</span><a name="line-92"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="#local-6989586621679125064"><span class="hs-identifier hs-type">t</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="#local-6989586621679125064"><span class="hs-identifier hs-type">t</span></a><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-93"></a><span> </span><a name="local-8214565720323899923"><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier">getNodes</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Nodes.html#nodesUnion"><span class="hs-identifier hs-var">nodesUnion</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">fmap</span><span> </span><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier hs-var">getNodes</span></a><span>
|
||||
</span><a name="line-94"></a><span>
|
||||
</span><a name="line-95"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="#local-6989586621679125062"><span class="hs-identifier hs-type">t</span></a><span> </span><a href="#local-6989586621679125063"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="#local-6989586621679125062"><span class="hs-identifier hs-type">t</span></a><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="#local-6989586621679125063"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-96"></a><span> </span><a name="local-8214565720323899921"><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier">getFetch</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">fmap</span><span> </span><span class="hs-identifier hs-var">sequenceA</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">mapM</span><span> </span><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier hs-var">getFetch</span></a><span>
|
||||
</span><a name="line-97"></a><span>
|
||||
</span><a name="line-98"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><a href="TensorFlow.Output.html#ControlNode"><span class="hs-identifier hs-type">ControlNode</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-99"></a><span> </span><a name="local-8214565720323899923"><a href="TensorFlow.Nodes.html#getNodes"><span class="hs-identifier">getNodes</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Output.html#ControlNode"><span class="hs-identifier hs-var">ControlNode</span></a><span> </span><a name="local-6989586621679125061"><a href="#local-6989586621679125061"><span class="hs-identifier">o</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">Set</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">singleton</span><span> </span><a href="#local-6989586621679125061"><span class="hs-identifier hs-var">o</span></a><span>
|
||||
</span><a name="line-100"></a><span>
|
||||
</span><a name="line-101"></a><span class="hs-comment">-- We use the constraint @(a ~ ())@ to help with type inference. For example,</span><span>
|
||||
</span><a name="line-102"></a><span class="hs-comment">-- if @t :: ControlNode@, then this constraint ensures that @run t :: Session</span><span>
|
||||
</span><a name="line-103"></a><span class="hs-comment">-- ()@. If we used @instance Fetchable ControlNode ()@ instead, then that</span><span>
|
||||
</span><a name="line-104"></a><span class="hs-comment">-- expression would be ambiguous without explicitly specifying the return type.</span><span>
|
||||
</span><a name="line-105"></a><span class="hs-keyword">instance</span><span> </span><a href="#local-6989586621679125060"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">~</span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Nodes.html#Fetchable"><span class="hs-identifier hs-type">Fetchable</span></a><span> </span><a href="TensorFlow.Output.html#ControlNode"><span class="hs-identifier hs-type">ControlNode</span></a><span> </span><a href="#local-6989586621679125060"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-106"></a><span> </span><a name="local-8214565720323899921"><a href="TensorFlow.Nodes.html#getFetch"><span class="hs-identifier">getFetch</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">return</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-107"></a><span>
|
||||
</span><a name="line-108"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Nodes.html#Nodes"><span class="hs-identifier hs-type">Nodes</span></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#ListOf"><span class="hs-identifier hs-type">ListOf</span></a><span> </span><a href="#local-6989586621679125059"><span class="hs-identifier hs-type">f</span></a><span> </span><span class="hs-char">'[]) where
|
||||
getNodes _ = return Set.empty
|
||||
|
||||
instance (Nodes (f a), Nodes (ListOf f as)) => Nodes (ListOf f (a ': as)) where
|
||||
getNodes (x :/ xs) = liftA2 Set.union (getNodes x) (getNodes xs)
|
||||
|
||||
instance l ~ List '[] => Fetchable (ListOf f '[]) l where
|
||||
getFetch _ = return $ pure Nil
|
||||
|
||||
instance (Fetchable (f t) a, Fetchable (ListOf f ts) (List as), i ~ Identity)
|
||||
=> Fetchable (ListOf f (t ': ts)) (ListOf i (a ': as)) where
|
||||
getFetch (x :/ xs) = liftA2 (\y ys -> y /:/ ys) <$> getFetch x <*> getFetch xs
|
||||
|
||||
instance Nodes (Tensor v a) where
|
||||
getNodes (Tensor o) = Set.singleton . outputNodeName <$> toBuild o
|
||||
|
||||
fetchTensorVector :: forall a v . (TensorType a)
|
||||
=> Tensor v a -> Build (Fetch (TensorData a))
|
||||
fetchTensorVector (Tensor o) = do
|
||||
outputName <- encodeOutput <$> toBuild o
|
||||
pure $ Fetch (Set.singleton outputName) $ \tensors ->
|
||||
let tensorData = tensors Map.! outputName
|
||||
expectedType = tensorType (undefined :: a)
|
||||
actualType = FFI.tensorDataType tensorData
|
||||
badTypeError = error $ "Bad tensor type: expected "
|
||||
++ show expectedType
|
||||
++ ", got "
|
||||
++ show actualType
|
||||
in if expectedType /= actualType
|
||||
then badTypeError
|
||||
else TensorData tensorData
|
||||
|
||||
-- The constraint "a ~ a'" means that the input/output of fetch can constrain
|
||||
-- the TensorType of each other.
|
||||
instance (TensorType a, a ~ a') => Fetchable (Tensor v a) (TensorData a') where
|
||||
getFetch = fetchTensorVector
|
||||
|
||||
instance (TensorType a, TensorDataType s a, a ~ a') => Fetchable (Tensor v a) (s a') where
|
||||
getFetch t = fmap decodeTensorData <$> fetchTensorVector t
|
||||
</span></pre></body></html>
|
|
@ -1,566 +0,0 @@
|
|||
<!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><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">-- Copyright 2016 TensorFlow authors.</span><span>
|
||||
</span><a name="line-2"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-3"></a><span class="hs-comment">-- Licensed under the Apache License, Version 2.0 (the "License");</span><span>
|
||||
</span><a name="line-4"></a><span class="hs-comment">-- you may not use this file except in compliance with the License.</span><span>
|
||||
</span><a name="line-5"></a><span class="hs-comment">-- You may obtain a copy of the License at</span><span>
|
||||
</span><a name="line-6"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-7"></a><span class="hs-comment">-- http://www.apache.org/licenses/LICENSE-2.0</span><span>
|
||||
</span><a name="line-8"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-9"></a><span class="hs-comment">-- Unless required by applicable law or agreed to in writing, software</span><span>
|
||||
</span><a name="line-10"></a><span class="hs-comment">-- distributed under the License is distributed on an "AS IS" BASIS,</span><span>
|
||||
</span><a name="line-11"></a><span class="hs-comment">-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span>
|
||||
</span><a name="line-12"></a><span class="hs-comment">-- See the License for the specific language governing permissions and</span><span>
|
||||
</span><a name="line-13"></a><span class="hs-comment">-- limitations under the License.</span><span>
|
||||
</span><a name="line-14"></a><span>
|
||||
</span><a name="line-15"></a><span class="hs-pragma">{-# LANGUAGE ConstraintKinds #-}</span><span>
|
||||
</span><a name="line-16"></a><span class="hs-pragma">{-# LANGUAGE CPP #-}</span><span>
|
||||
</span><a name="line-17"></a><span class="hs-pragma">{-# LANGUAGE DataKinds #-}</span><span>
|
||||
</span><a name="line-18"></a><span class="hs-pragma">{-# LANGUAGE FlexibleContexts #-}</span><span>
|
||||
</span><a name="line-19"></a><span class="hs-pragma">{-# LANGUAGE FlexibleInstances #-}</span><span>
|
||||
</span><a name="line-20"></a><span class="hs-pragma">{-# LANGUAGE GADTs #-}</span><span>
|
||||
</span><a name="line-21"></a><span class="hs-pragma">{-# LANGUAGE GeneralizedNewtypeDeriving #-}</span><span>
|
||||
</span><a name="line-22"></a><span class="hs-pragma">{-# LANGUAGE MonoLocalBinds #-}</span><span>
|
||||
</span><a name="line-23"></a><span class="hs-pragma">{-# LANGUAGE MultiParamTypeClasses #-}</span><span>
|
||||
</span><a name="line-24"></a><span class="hs-pragma">{-# LANGUAGE OverloadedStrings #-}</span><span>
|
||||
</span><a name="line-25"></a><span class="hs-pragma">{-# LANGUAGE RankNTypes #-}</span><span>
|
||||
</span><a name="line-26"></a><span class="hs-pragma">{-# LANGUAGE ScopedTypeVariables #-}</span><span>
|
||||
</span><a name="line-27"></a><span class="hs-pragma">{-# LANGUAGE TypeFamilies #-}</span><span>
|
||||
</span><a name="line-28"></a><span class="hs-pragma">{-# LANGUAGE TypeOperators #-}</span><span>
|
||||
</span><a name="line-29"></a><span class="hs-comment">-- We use UndecidableInstances for type families with recursive definitions</span><span>
|
||||
</span><a name="line-30"></a><span class="hs-comment">-- like "\\". Those instances will terminate since each equation unwraps one</span><span>
|
||||
</span><a name="line-31"></a><span class="hs-comment">-- cons cell of a type-level list.</span><span>
|
||||
</span><a name="line-32"></a><span class="hs-pragma">{-# LANGUAGE UndecidableInstances #-}</span><span>
|
||||
</span><a name="line-33"></a><span>
|
||||
</span><a name="line-34"></a><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Types</span><span>
|
||||
</span><a name="line-35"></a><span> </span><span class="hs-special">(</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-36"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-type">TensorData</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-37"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-38"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#Scalar"><span class="hs-identifier hs-type">Scalar</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-39"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-40"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#protoShape"><span class="hs-identifier hs-var">protoShape</span></a><span>
|
||||
</span><a name="line-41"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-42"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">DataType</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-43"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#ResourceHandle"><span class="hs-identifier hs-type">ResourceHandle</span></a><span>
|
||||
</span><a name="line-44"></a><span> </span><span class="hs-comment">-- * Lists</span><span>
|
||||
</span><a name="line-45"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#ListOf"><span class="hs-identifier hs-type">ListOf</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-46"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#List"><span class="hs-identifier hs-type">List</span></a><span>
|
||||
</span><a name="line-47"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#%2F%3A%2F"><span class="hs-operator hs-var">/:/</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-48"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorTypeProxy"><span class="hs-identifier hs-type">TensorTypeProxy</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-49"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorTypes"><span class="hs-identifier hs-type">TensorTypes</span></a><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-50"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorTypeList"><span class="hs-identifier hs-type">TensorTypeList</span></a><span>
|
||||
</span><a name="line-51"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#fromTensorTypeList"><span class="hs-identifier hs-var">fromTensorTypeList</span></a><span>
|
||||
</span><a name="line-52"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#fromTensorTypes"><span class="hs-identifier hs-var">fromTensorTypes</span></a><span>
|
||||
</span><a name="line-53"></a><span> </span><span class="hs-comment">-- * Type constraints</span><span>
|
||||
</span><a name="line-54"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#OneOf"><span class="hs-identifier hs-type">OneOf</span></a><span>
|
||||
</span><a name="line-55"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-keyword">type</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#%2F%3D"><span class="hs-operator hs-type">/=</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-56"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#OneOfs"><span class="hs-identifier hs-type">OneOfs</span></a><span>
|
||||
</span><a name="line-57"></a><span> </span><span class="hs-comment">-- ** Implementation of constraints</span><span>
|
||||
</span><a name="line-58"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TypeError"><span class="hs-identifier hs-type">TypeError</span></a><span>
|
||||
</span><a name="line-59"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#ExcludedCase"><span class="hs-identifier hs-type">ExcludedCase</span></a><span>
|
||||
</span><a name="line-60"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#NoneOf"><span class="hs-identifier hs-type">NoneOf</span></a><span>
|
||||
</span><a name="line-61"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-keyword">type</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#%5C%5C"><span class="hs-operator hs-type">\\</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-62"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#Delete"><span class="hs-identifier hs-type">Delete</span></a><span>
|
||||
</span><a name="line-63"></a><span> </span><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#AllTensorTypes"><span class="hs-identifier hs-type">AllTensorTypes</span></a><span>
|
||||
</span><a name="line-64"></a><span> </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-65"></a><span>
|
||||
</span><a name="line-66"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Functor</span><span class="hs-operator">.</span><span class="hs-identifier">Identity</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Identity</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-67"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Complex</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Complex</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-68"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Default</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">def</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-69"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Int</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Int8</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Int16</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Int32</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Int64</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-70"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Monoid</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var"><></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-71"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Proxy</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Proxy</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-72"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">String</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">IsString</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-73"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Word</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Word8</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Word16</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Word64</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-74"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Foreign</span><span class="hs-operator">.</span><span class="hs-identifier">Storable</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Storable</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-75"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">GHC</span><span class="hs-operator">.</span><span class="hs-identifier">Exts</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Constraint</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">IsList</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-76"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Lens</span><span class="hs-operator">.</span><span class="hs-identifier">Family2</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Lens'</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">view</span><span class="hs-special">,</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">&</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">.~</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-77"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Lens</span><span class="hs-operator">.</span><span class="hs-identifier">Family2</span><span class="hs-operator">.</span><span class="hs-identifier">Unchecked</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">iso</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-78"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Text</span><span class="hs-operator">.</span><span class="hs-identifier">Printf</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">printf</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-79"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Attoparsec</span><span class="hs-operator">.</span><span class="hs-identifier">ByteString</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Atto</span><span>
|
||||
</span><a name="line-80"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">ByteString</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">ByteString</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-81"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">ByteString</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">B</span><span>
|
||||
</span><a name="line-82"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">ByteString</span><span class="hs-operator">.</span><span class="hs-identifier">Builder</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Builder</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-83"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">ByteString</span><span class="hs-operator">.</span><span class="hs-identifier">Builder</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Builder</span><span>
|
||||
</span><a name="line-84"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">ByteString</span><span class="hs-operator">.</span><span class="hs-identifier">Lazy</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">L</span><span>
|
||||
</span><a name="line-85"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Vector</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">V</span><span>
|
||||
</span><a name="line-86"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data</span><span class="hs-operator">.</span><span class="hs-identifier">Vector</span><span class="hs-operator">.</span><span class="hs-identifier">Storable</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">S</span><span>
|
||||
</span><a name="line-87"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Proto</span><span class="hs-operator">.</span><span class="hs-identifier">Tensorflow</span><span class="hs-operator">.</span><span class="hs-identifier">Core</span><span class="hs-operator">.</span><span class="hs-identifier">Framework</span><span class="hs-operator">.</span><span class="hs-identifier">AttrValue</span><span>
|
||||
</span><a name="line-88"></a><span> </span><span class="hs-special">(</span><span> </span><span class="hs-identifier hs-type">AttrValue</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-89"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">AttrValue'ListValue</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-90"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">b</span><span>
|
||||
</span><a name="line-91"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">f</span><span>
|
||||
</span><a name="line-92"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">i</span><span>
|
||||
</span><a name="line-93"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">s</span><span>
|
||||
</span><a name="line-94"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">list</span><span>
|
||||
</span><a name="line-95"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">type'</span><span>
|
||||
</span><a name="line-96"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">shape</span><span>
|
||||
</span><a name="line-97"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">tensor</span><span>
|
||||
</span><a name="line-98"></a><span> </span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-99"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Proto</span><span class="hs-operator">.</span><span class="hs-identifier">Tensorflow</span><span class="hs-operator">.</span><span class="hs-identifier">Core</span><span class="hs-operator">.</span><span class="hs-identifier">Framework</span><span class="hs-operator">.</span><span class="hs-identifier">ResourceHandle</span><span>
|
||||
</span><a name="line-100"></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">ResourceHandleProto</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-101"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Proto</span><span class="hs-operator">.</span><span class="hs-identifier">Tensorflow</span><span class="hs-operator">.</span><span class="hs-identifier">Core</span><span class="hs-operator">.</span><span class="hs-identifier">Framework</span><span class="hs-operator">.</span><span class="hs-identifier">Tensor</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Tensor</span><span>
|
||||
</span><a name="line-102"></a><span> </span><span class="hs-special">(</span><span> </span><span class="hs-identifier hs-type">TensorProto</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-103"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">boolVal</span><span>
|
||||
</span><a name="line-104"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">doubleVal</span><span>
|
||||
</span><a name="line-105"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">floatVal</span><span>
|
||||
</span><a name="line-106"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">intVal</span><span>
|
||||
</span><a name="line-107"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">int64Val</span><span>
|
||||
</span><a name="line-108"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">resourceHandleVal</span><span>
|
||||
</span><a name="line-109"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">stringVal</span><span>
|
||||
</span><a name="line-110"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">stringVal</span><span>
|
||||
</span><a name="line-111"></a><span> </span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-112"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Proto</span><span class="hs-operator">.</span><span class="hs-identifier">Tensorflow</span><span class="hs-operator">.</span><span class="hs-identifier">Core</span><span class="hs-operator">.</span><span class="hs-identifier">Framework</span><span class="hs-operator">.</span><span class="hs-identifier">TensorShape</span><span>
|
||||
</span><a name="line-113"></a><span> </span><span class="hs-special">(</span><span> </span><span class="hs-identifier hs-type">TensorShapeProto</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-114"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">dim</span><span>
|
||||
</span><a name="line-115"></a><span> </span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">size</span><span>
|
||||
</span><a name="line-116"></a><span> </span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-117"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Proto</span><span class="hs-operator">.</span><span class="hs-identifier">Tensorflow</span><span class="hs-operator">.</span><span class="hs-identifier">Core</span><span class="hs-operator">.</span><span class="hs-identifier">Framework</span><span class="hs-operator">.</span><span class="hs-identifier">Types</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">DataType</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-118"></a><span>
|
||||
</span><a name="line-119"></a><span class="hs-keyword">import</span><span> </span><a href="TensorFlow.Internal.VarInt.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Internal</span><span class="hs-operator">.</span><span class="hs-identifier">VarInt</span></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Internal.VarInt.html#getVarInt"><span class="hs-identifier hs-var">getVarInt</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Internal.VarInt.html#putVarInt"><span class="hs-identifier hs-var">putVarInt</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-120"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><a href="TensorFlow.Internal.FFI.html"><span class="hs-identifier">TensorFlow</span><span class="hs-operator">.</span><span class="hs-identifier">Internal</span><span class="hs-operator">.</span><span class="hs-identifier">FFI</span></a><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">FFI</span><span>
|
||||
</span><a name="line-121"></a><span>
|
||||
</span><a name="line-122"></a><span class="hs-keyword">type</span><span> </span><a name="ResourceHandle"><a href="TensorFlow.Types.html#ResourceHandle"><span class="hs-identifier">ResourceHandle</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-type">ResourceHandleProto</span><span>
|
||||
</span><a name="line-123"></a><span>
|
||||
</span><a name="line-124"></a><span class="hs-comment">-- | The class of scalar types supported by tensorflow.</span><span>
|
||||
</span><a name="line-125"></a><span class="hs-keyword">class</span><span> </span><a name="TensorType"><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier">TensorType</span></a></a><span> </span><a name="local-6989586621679093633"><a href="#local-6989586621679093633"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-126"></a><span> </span><span class="hs-identifier">tensorType</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="#local-6989586621679093633"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">DataType</span><span>
|
||||
</span><a name="line-127"></a><span> </span><span class="hs-identifier">tensorRefType</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="#local-6989586621679093633"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">DataType</span><span>
|
||||
</span><a name="line-128"></a><span> </span><span class="hs-identifier">tensorVal</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Lens'</span><span> </span><span class="hs-identifier hs-type">TensorProto</span><span> </span><span class="hs-special">[</span><a href="#local-6989586621679093633"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">]</span><span>
|
||||
</span><a name="line-129"></a><span>
|
||||
</span><a name="line-130"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Float</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-131"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_FLOAT</span><span>
|
||||
</span><a name="line-132"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_FLOAT_REF</span><span>
|
||||
</span><a name="line-133"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">floatVal</span><span>
|
||||
</span><a name="line-134"></a><span>
|
||||
</span><a name="line-135"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-136"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_DOUBLE</span><span>
|
||||
</span><a name="line-137"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_DOUBLE_REF</span><span>
|
||||
</span><a name="line-138"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">doubleVal</span><span>
|
||||
</span><a name="line-139"></a><span>
|
||||
</span><a name="line-140"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Int32</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-141"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT32</span><span>
|
||||
</span><a name="line-142"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT32_REF</span><span>
|
||||
</span><a name="line-143"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">intVal</span><span>
|
||||
</span><a name="line-144"></a><span>
|
||||
</span><a name="line-145"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Int64</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-146"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT64</span><span>
|
||||
</span><a name="line-147"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT64_REF</span><span>
|
||||
</span><a name="line-148"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">int64Val</span><span>
|
||||
</span><a name="line-149"></a><span>
|
||||
</span><a name="line-150"></a><span class="hs-identifier">integral</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Integral</span><span> </span><a href="#local-6989586621679093641"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">=></span><span> </span><span class="hs-identifier hs-type">Lens'</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int32</span><span class="hs-special">]</span><span> </span><span class="hs-special">[</span><a href="#local-6989586621679093641"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">]</span><span>
|
||||
</span><a name="line-151"></a><a name="integral"><a href="TensorFlow.Types.html#integral"><span class="hs-identifier">integral</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">iso</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">fmap</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">fmap</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-152"></a><span>
|
||||
</span><a name="line-153"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Word8</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-154"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_UINT8</span><span>
|
||||
</span><a name="line-155"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_UINT8_REF</span><span>
|
||||
</span><a name="line-156"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">intVal</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#integral"><span class="hs-identifier hs-var">integral</span></a><span>
|
||||
</span><a name="line-157"></a><span>
|
||||
</span><a name="line-158"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Word16</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-159"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_UINT16</span><span>
|
||||
</span><a name="line-160"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_UINT16_REF</span><span>
|
||||
</span><a name="line-161"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">intVal</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#integral"><span class="hs-identifier hs-var">integral</span></a><span>
|
||||
</span><a name="line-162"></a><span>
|
||||
</span><a name="line-163"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Int16</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-164"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT16</span><span>
|
||||
</span><a name="line-165"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT16_REF</span><span>
|
||||
</span><a name="line-166"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">intVal</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#integral"><span class="hs-identifier hs-var">integral</span></a><span>
|
||||
</span><a name="line-167"></a><span>
|
||||
</span><a name="line-168"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Int8</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-169"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT8</span><span>
|
||||
</span><a name="line-170"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_INT8_REF</span><span>
|
||||
</span><a name="line-171"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">intVal</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#integral"><span class="hs-identifier hs-var">integral</span></a><span>
|
||||
</span><a name="line-172"></a><span>
|
||||
</span><a name="line-173"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">ByteString</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-174"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_STRING</span><span>
|
||||
</span><a name="line-175"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_STRING_REF</span><span>
|
||||
</span><a name="line-176"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">stringVal</span><span>
|
||||
</span><a name="line-177"></a><span>
|
||||
</span><a name="line-178"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-179"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_BOOL</span><span>
|
||||
</span><a name="line-180"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_BOOL_REF</span><span>
|
||||
</span><a name="line-181"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">boolVal</span><span>
|
||||
</span><a name="line-182"></a><span>
|
||||
</span><a name="line-183"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Complex</span><span> </span><span class="hs-identifier hs-type">Float</span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-184"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_COMPLEX64</span><span>
|
||||
</span><a name="line-185"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_COMPLEX64</span><span>
|
||||
</span><a name="line-186"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-string">"TODO (Complex Float)"</span><span>
|
||||
</span><a name="line-187"></a><span>
|
||||
</span><a name="line-188"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Complex</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-189"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_COMPLEX128</span><span>
|
||||
</span><a name="line-190"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_COMPLEX128</span><span>
|
||||
</span><a name="line-191"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-string">"TODO (Complex Double)"</span><span>
|
||||
</span><a name="line-192"></a><span>
|
||||
</span><a name="line-193"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><a href="TensorFlow.Types.html#ResourceHandle"><span class="hs-identifier hs-type">ResourceHandle</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-194"></a><span> </span><a name="local-8214565720323868440"><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier">tensorType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_RESOURCE</span><span>
|
||||
</span><a name="line-195"></a><span> </span><a name="local-8214565720323868441"><a href="TensorFlow.Types.html#tensorRefType"><span class="hs-identifier">tensorRefType</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">DT_RESOURCE_REF</span><span>
|
||||
</span><a name="line-196"></a><span> </span><a name="local-8214565720323868442"><a href="TensorFlow.Types.html#tensorVal"><span class="hs-identifier">tensorVal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">resourceHandleVal</span><span>
|
||||
</span><a name="line-197"></a><span>
|
||||
</span><a name="line-198"></a><span class="hs-comment">-- | Tensor data with the correct memory layout for tensorflow.</span><span>
|
||||
</span><a name="line-199"></a><span class="hs-keyword">newtype</span><span> </span><a name="TensorData"><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier">TensorData</span></a></a><span> </span><a name="local-6989586621679093632"><a href="#local-6989586621679093632"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="TensorData"><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier">TensorData</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unTensorData"><a href="TensorFlow.Types.html#unTensorData"><span class="hs-identifier">unTensorData</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="TensorFlow.Internal.FFI.html#TensorData"><span class="hs-identifier hs-type">FFI</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">TensorData</span></a><span> </span><span class="hs-special">}</span><span>
|
||||
</span><a name="line-200"></a><span>
|
||||
</span><a name="line-201"></a><span class="hs-comment">-- | Types that can be converted to and from 'TensorData'.</span><span>
|
||||
</span><a name="line-202"></a><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-203"></a><span class="hs-comment">-- 'S.Vector' is the most efficient to encode/decode for most element types.</span><span>
|
||||
</span><a name="line-204"></a><span class="hs-keyword">class</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><a href="#local-6989586621679093631"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a name="TensorDataType"><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier">TensorDataType</span></a></a><span> </span><a name="local-6989586621679093630"><a href="#local-6989586621679093630"><span class="hs-identifier">s</span></a></a><span> </span><a name="local-6989586621679093631"><a href="#local-6989586621679093631"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-205"></a><span> </span><span class="hs-comment">-- | Decode the bytes of a 'TensorData' into an 's'.</span><span>
|
||||
</span><a name="line-206"></a><span> </span><span class="hs-identifier">decodeTensorData</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-type">TensorData</span></a><span> </span><a href="#local-6989586621679093631"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="#local-6989586621679093630"><span class="hs-identifier hs-type">s</span></a><span> </span><a href="#local-6989586621679093631"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-207"></a><span> </span><span class="hs-comment">-- | Encode an 's' into a 'TensorData'.</span><span>
|
||||
</span><a name="line-208"></a><span> </span><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-209"></a><span> </span><span class="hs-comment">-- The values should be in row major order, e.g.,</span><span>
|
||||
</span><a name="line-210"></a><span> </span><span class="hs-comment">--</span><span>
|
||||
</span><a name="line-211"></a><span> </span><span class="hs-comment">-- element 0: index (0, ..., 0)</span><span>
|
||||
</span><a name="line-212"></a><span> </span><span class="hs-comment">-- element 1: index (0, ..., 1)</span><span>
|
||||
</span><a name="line-213"></a><span> </span><span class="hs-comment">-- ...</span><span>
|
||||
</span><a name="line-214"></a><span> </span><span class="hs-identifier">encodeTensorData</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="#local-6989586621679093630"><span class="hs-identifier hs-type">s</span></a><span> </span><a href="#local-6989586621679093631"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-type">TensorData</span></a><span> </span><a href="#local-6989586621679093631"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-215"></a><span>
|
||||
</span><a name="line-216"></a><span class="hs-comment">-- All types, besides ByteString and Bool, are encoded as simple arrays and we</span><span>
|
||||
</span><a name="line-217"></a><span class="hs-comment">-- can use Vector.Storable to encode/decode by type casting pointers.</span><span>
|
||||
</span><a name="line-218"></a><span>
|
||||
</span><a name="line-219"></a><span class="hs-comment">-- TODO(fmayle): Assert that the data type matches the return type.</span><span>
|
||||
</span><a name="line-220"></a><span class="hs-identifier">simpleDecode</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Storable</span><span> </span><a href="#local-6989586621679093640"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-type">TensorData</span></a><span> </span><a href="#local-6989586621679093640"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679093640"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-221"></a><a name="simpleDecode"><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier">simpleDecode</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">unsafeCast</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier">FFI</span><span class="hs-operator">.</span><span class="hs-identifier">tensorDataBytes</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier">unTensorData</span><span>
|
||||
</span><a name="line-222"></a><span>
|
||||
</span><a name="line-223"></a><span class="hs-identifier">simpleEncode</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-keyword">forall</span><span> </span><a name="local-6989586621679093639"><a href="#local-6989586621679093639"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-operator">.</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><a href="#local-6989586621679093639"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Storable</span><span> </span><a href="#local-6989586621679093639"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-224"></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679093639"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-type">TensorData</span></a><span> </span><a href="#local-6989586621679093639"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-225"></a><a name="simpleEncode"><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier">simpleEncode</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><a name="local-6989586621679093642"><a href="#local-6989586621679093642"><span class="hs-identifier">xs</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679093643"><a href="#local-6989586621679093643"><span class="hs-identifier">v</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-226"></a><span> </span><span class="hs-keyword">if</span><span> </span><span class="hs-identifier hs-var">product</span><span> </span><a href="#local-6989586621679093642"><span class="hs-identifier hs-var">xs</span></a><span> </span><span class="hs-operator hs-var">/=</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679093643"><span class="hs-identifier hs-var">v</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-227"></a><span> </span><span class="hs-keyword">then</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">printf</span><span>
|
||||
</span><a name="line-228"></a><span> </span><span class="hs-string">"simpleEncode: bad vector length for shape %v: expected=%d got=%d"</span><span>
|
||||
</span><a name="line-229"></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">show</span><span> </span><a href="#local-6989586621679093642"><span class="hs-identifier hs-var">xs</span></a><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">product</span><span> </span><a href="#local-6989586621679093642"><span class="hs-identifier hs-var">xs</span></a><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679093643"><span class="hs-identifier hs-var">v</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-230"></a><span> </span><span class="hs-keyword">else</span><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-var">TensorData</span></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Internal.FFI.html#TensorData"><span class="hs-identifier hs-var">FFI</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">TensorData</span></a><span> </span><a href="#local-6989586621679093642"><span class="hs-identifier hs-var">xs</span></a><span> </span><a href="#local-6989586621679093644"><span class="hs-identifier hs-var">dt</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">unsafeCast</span><span> </span><a href="#local-6989586621679093643"><span class="hs-identifier hs-var">v</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-231"></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-232"></a><span> </span><a name="local-6989586621679093644"><a href="#local-6989586621679093644"><span class="hs-identifier">dt</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier hs-var">tensorType</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">undefined</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="#local-6989586621679093639"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-233"></a><span>
|
||||
</span><a name="line-234"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Float</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-235"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-236"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-237"></a><span>
|
||||
</span><a name="line-238"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-239"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-240"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-241"></a><span>
|
||||
</span><a name="line-242"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Int8</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-243"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-244"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-245"></a><span>
|
||||
</span><a name="line-246"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Int16</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-247"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-248"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-249"></a><span>
|
||||
</span><a name="line-250"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Int32</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-251"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-252"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-253"></a><span>
|
||||
</span><a name="line-254"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Int64</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-255"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-256"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-257"></a><span>
|
||||
</span><a name="line-258"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Word8</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-259"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-260"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-261"></a><span>
|
||||
</span><a name="line-262"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Word16</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-263"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleDecode"><span class="hs-identifier hs-var">simpleDecode</span></a><span>
|
||||
</span><a name="line-264"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#simpleEncode"><span class="hs-identifier hs-var">simpleEncode</span></a><span>
|
||||
</span><a name="line-265"></a><span>
|
||||
</span><a name="line-266"></a><span class="hs-comment">-- TODO: Haskell and tensorflow use different byte sizes for bools, which makes</span><span>
|
||||
</span><a name="line-267"></a><span class="hs-comment">-- encoding more expensive. It may make sense to define a custom boolean type.</span><span>
|
||||
</span><a name="line-268"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-269"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-270"></a><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">convert</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">map</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">/=</span><span> </span><span class="hs-number">0</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier">FFI</span><span class="hs-operator">.</span><span class="hs-identifier">tensorDataBytes</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier">unTensorData</span><span>
|
||||
</span><a name="line-271"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><a name="local-6989586621679094104"><a href="#local-6989586621679094104"><span class="hs-identifier">xs</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-272"></a><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-var">TensorData</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Internal.FFI.html#TensorData"><span class="hs-identifier hs-var">FFI</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">TensorData</span></a><span> </span><a href="#local-6989586621679094104"><span class="hs-identifier hs-var">xs</span></a><span> </span><span class="hs-identifier hs-var">DT_BOOL</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">map</span><span> </span><a href="#local-6989586621679094105"><span class="hs-identifier hs-var">fromBool</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">convert</span><span>
|
||||
</span><a name="line-273"></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-274"></a><span> </span><a name="local-6989586621679094105"><a href="#local-6989586621679094105"><span class="hs-identifier">fromBool</span></a></a><span> </span><a name="local-6989586621679094106"><a href="#local-6989586621679094106"><span class="hs-identifier">x</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">if</span><span> </span><a href="#local-6989586621679094106"><span class="hs-identifier hs-var">x</span></a><span> </span><span class="hs-keyword">then</span><span> </span><span class="hs-number">1</span><span> </span><span class="hs-keyword">else</span><span> </span><span class="hs-number">0</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Word8</span><span>
|
||||
</span><a name="line-275"></a><span>
|
||||
</span><a name="line-276"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-pragma">{-# OVERLAPPABLE #-}</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Storable</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-277"></a><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-278"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">convert</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier hs-var">decodeTensorData</span></a><span>
|
||||
</span><a name="line-279"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><a name="local-6989586621679094103"><a href="#local-6989586621679094103"><span class="hs-identifier">x</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier hs-var">encodeTensorData</span></a><span> </span><a href="#local-6989586621679094103"><span class="hs-identifier hs-var">x</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">convert</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679094102"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-280"></a><span>
|
||||
</span><a name="line-281"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-pragma">{-# OVERLAPPING #-}</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Complex</span><span> </span><span class="hs-identifier hs-type">Float</span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-282"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-string">"TODO (Complex Float)"</span><span>
|
||||
</span><a name="line-283"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-string">"TODO (Complex Float)"</span><span>
|
||||
</span><a name="line-284"></a><span>
|
||||
</span><a name="line-285"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-pragma">{-# OVERLAPPING #-}</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Complex</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-286"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-string">"TODO (Complex Double)"</span><span>
|
||||
</span><a name="line-287"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-string">"TODO (Complex Double)"</span><span>
|
||||
</span><a name="line-288"></a><span>
|
||||
</span><a name="line-289"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-pragma">{-# OVERLAPPING #-}</span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">ByteString</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-290"></a><span> </span><span class="hs-comment">-- Encoded data layout (described in third_party/tensorflow/c/c_api.h):</span><span>
|
||||
</span><a name="line-291"></a><span> </span><span class="hs-comment">-- table offsets for each element :: [Word64]</span><span>
|
||||
</span><a name="line-292"></a><span> </span><span class="hs-comment">-- at each element offset:</span><span>
|
||||
</span><a name="line-293"></a><span> </span><span class="hs-comment">-- string length :: VarInt64</span><span>
|
||||
</span><a name="line-294"></a><span> </span><span class="hs-comment">-- string data :: [Word8]</span><span>
|
||||
</span><a name="line-295"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><a name="local-6989586621679093744"><a href="#local-6989586621679093744"><span class="hs-identifier">tensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-296"></a><span> </span><span class="hs-identifier hs-var">either</span><span> </span><span class="hs-special">(</span><span class="hs-glyph">\</span><a name="local-6989586621679093754"><a href="#local-6989586621679093754"><span class="hs-identifier">err</span></a></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">"Malformed TF_STRING tensor; "</span><span> </span><span class="hs-operator hs-var">++</span><span> </span><a href="#local-6989586621679093754"><span class="hs-identifier hs-var">err</span></a><span class="hs-special">)</span><span> </span><span class="hs-identifier hs-var">id</span><span> </span><span class="hs-operator hs-var">$</span><span>
|
||||
</span><a name="line-297"></a><span> </span><span class="hs-keyword">if</span><span> </span><a href="#local-6989586621679093745"><span class="hs-identifier hs-var">expected</span></a><span> </span><span class="hs-operator hs-var">/=</span><span> </span><a href="#local-6989586621679093746"><span class="hs-identifier hs-var">count</span></a><span>
|
||||
</span><a name="line-298"></a><span> </span><span class="hs-keyword">then</span><span> </span><span class="hs-identifier hs-var">Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">"decodeTensorData for ByteString count mismatch "</span><span> </span><span class="hs-operator hs-var">++</span><span>
|
||||
</span><a name="line-299"></a><span> </span><span class="hs-identifier hs-var">show</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679093745"><span class="hs-identifier hs-var">expected</span></a><span class="hs-special">,</span><span> </span><a href="#local-6989586621679093746"><span class="hs-identifier hs-var">count</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-300"></a><span> </span><span class="hs-keyword">else</span><span> </span><span class="hs-identifier hs-var">V</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">mapM</span><span> </span><a href="#local-6989586621679093750"><span class="hs-identifier hs-var">decodeString</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">convert</span><span> </span><a href="#local-6989586621679093748"><span class="hs-identifier hs-var">offsets</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-301"></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-302"></a><span> </span><a name="local-6989586621679093745"><a href="#local-6989586621679093745"><span class="hs-identifier">expected</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679093748"><span class="hs-identifier hs-var">offsets</span></a><span>
|
||||
</span><a name="line-303"></a><span> </span><a name="local-6989586621679093746"><a href="#local-6989586621679093746"><span class="hs-identifier">count</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">product</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier">FFI</span><span class="hs-operator">.</span><span class="hs-identifier">tensorDataDimensions</span><span>
|
||||
</span><a name="line-304"></a><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier">unTensorData</span><span> </span><a href="#local-6989586621679093744"><span class="hs-identifier hs-var">tensorData</span></a><span>
|
||||
</span><a name="line-305"></a><span> </span><a name="local-6989586621679093747"><a href="#local-6989586621679093747"><span class="hs-identifier">bytes</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">FFI</span><span class="hs-operator">.</span><span class="hs-identifier">tensorDataBytes</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier">unTensorData</span><span> </span><a href="#local-6989586621679093744"><span class="hs-identifier hs-var">tensorData</span></a><span>
|
||||
</span><a name="line-306"></a><span> </span><a name="local-6989586621679093748"><a href="#local-6989586621679093748"><span class="hs-identifier">offsets</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">take</span><span> </span><a href="#local-6989586621679093746"><span class="hs-identifier hs-var">count</span></a><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">unsafeCast</span><span> </span><a href="#local-6989586621679093747"><span class="hs-identifier hs-var">bytes</span></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">S</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><span class="hs-identifier hs-type">Word64</span><span>
|
||||
</span><a name="line-307"></a><span> </span><a name="local-6989586621679093749"><a href="#local-6989586621679093749"><span class="hs-identifier">dataBytes</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">B</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">pack</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">toList</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">drop</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679093746"><span class="hs-identifier hs-var">count</span></a><span> </span><span class="hs-operator hs-var">*</span><span> </span><span class="hs-number">8</span><span class="hs-special">)</span><span> </span><a href="#local-6989586621679093747"><span class="hs-identifier hs-var">bytes</span></a><span>
|
||||
</span><a name="line-308"></a><span> </span><span class="hs-identifier">decodeString</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Word64</span><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">ByteString</span><span>
|
||||
</span><a name="line-309"></a><span> </span><a name="local-6989586621679093750"><a href="#local-6989586621679093750"><span class="hs-identifier">decodeString</span></a></a><span> </span><a name="local-6989586621679093752"><a href="#local-6989586621679093752"><span class="hs-identifier">offset</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-310"></a><span> </span><span class="hs-keyword">let</span><span> </span><a name="local-6989586621679093753"><a href="#local-6989586621679093753"><span class="hs-identifier">stringDataStart</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">B</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">drop</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">fromIntegral</span><span> </span><a href="#local-6989586621679093752"><span class="hs-identifier hs-var">offset</span></a><span class="hs-special">)</span><span> </span><a href="#local-6989586621679093749"><span class="hs-identifier hs-var">dataBytes</span></a><span>
|
||||
</span><a name="line-311"></a><span> </span><span class="hs-keyword">in</span><span> </span><span class="hs-identifier hs-var">Atto</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">eitherResult</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">Atto</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">parse</span><span> </span><a href="#local-6989586621679093751"><span class="hs-identifier hs-var">stringParser</span></a><span> </span><a href="#local-6989586621679093753"><span class="hs-identifier hs-var">stringDataStart</span></a><span>
|
||||
</span><a name="line-312"></a><span> </span><span class="hs-identifier">stringParser</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Atto</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Parser</span><span> </span><span class="hs-identifier hs-type">ByteString</span><span>
|
||||
</span><a name="line-313"></a><span> </span><a name="local-6989586621679093751"><a href="#local-6989586621679093751"><span class="hs-identifier">stringParser</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Internal.VarInt.html#getVarInt"><span class="hs-identifier hs-var">getVarInt</span></a><span> </span><span class="hs-operator hs-var">>>=</span><span> </span><span class="hs-identifier hs-var">Atto</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">take</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span>
|
||||
</span><a name="line-314"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><a name="local-6989586621679094087"><a href="#local-6989586621679094087"><span class="hs-identifier">xs</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679094088"><a href="#local-6989586621679094088"><span class="hs-identifier">vec</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-315"></a><span> </span><a href="TensorFlow.Types.html#TensorData"><span class="hs-identifier hs-var">TensorData</span></a><span> </span><span class="hs-operator hs-var">$</span><span> </span><a href="TensorFlow.Internal.FFI.html#TensorData"><span class="hs-identifier hs-var">FFI</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">TensorData</span></a><span> </span><a href="#local-6989586621679094087"><span class="hs-identifier hs-var">xs</span></a><span> </span><a href="#local-6989586621679094089"><span class="hs-identifier hs-var">dt</span></a><span> </span><a href="#local-6989586621679094094"><span class="hs-identifier hs-var">byteVector</span></a><span>
|
||||
</span><a name="line-316"></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-317"></a><span> </span><a name="local-6989586621679094089"><a href="#local-6989586621679094089"><span class="hs-identifier">dt</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#tensorType"><span class="hs-identifier hs-var">tensorType</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">undefined</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">ByteString</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-318"></a><span> </span><span class="hs-comment">-- Add a string to an offset table and data blob.</span><span>
|
||||
</span><a name="line-319"></a><span> </span><span class="hs-identifier">addString</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Builder</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Builder</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Word64</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-320"></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-type">ByteString</span><span>
|
||||
</span><a name="line-321"></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Builder</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Builder</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Word64</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-322"></a><span> </span><a name="local-6989586621679094090"><a href="#local-6989586621679094090"><span class="hs-identifier">addString</span></a></a><span> </span><span class="hs-special">(</span><a name="local-6989586621679094095"><a href="#local-6989586621679094095"><span class="hs-identifier">table</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679094096"><a href="#local-6989586621679094096"><span class="hs-identifier">strings</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679094097"><a href="#local-6989586621679094097"><span class="hs-identifier">offset</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679094098"><a href="#local-6989586621679094098"><span class="hs-identifier">str</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-323"></a><span> </span><span class="hs-special">(</span><span> </span><a href="#local-6989586621679094095"><span class="hs-identifier hs-var">table</span></a><span> </span><span class="hs-operator hs-var"><></span><span> </span><span class="hs-identifier hs-var">Builder</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">word64LE</span><span> </span><a href="#local-6989586621679094097"><span class="hs-identifier hs-var">offset</span></a><span>
|
||||
</span><a name="line-324"></a><span> </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679094096"><span class="hs-identifier hs-var">strings</span></a><span> </span><span class="hs-operator hs-var"><></span><span> </span><a href="#local-6989586621679094100"><span class="hs-identifier hs-var">lengthBytes</span></a><span> </span><span class="hs-operator hs-var"><></span><span> </span><span class="hs-identifier hs-var">Builder</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">byteString</span><span> </span><a href="#local-6989586621679094098"><span class="hs-identifier hs-var">str</span></a><span>
|
||||
</span><a name="line-325"></a><span> </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679094097"><span class="hs-identifier hs-var">offset</span></a><span> </span><span class="hs-operator hs-var">+</span><span> </span><a href="#local-6989586621679094101"><span class="hs-identifier hs-var">lengthBytesLen</span></a><span> </span><span class="hs-operator hs-var">+</span><span> </span><a href="#local-6989586621679094099"><span class="hs-identifier hs-var">strLen</span></a><span>
|
||||
</span><a name="line-326"></a><span> </span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-327"></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-328"></a><span> </span><a name="local-6989586621679094099"><a href="#local-6989586621679094099"><span class="hs-identifier">strLen</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">B</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679094098"><span class="hs-identifier hs-var">str</span></a><span>
|
||||
</span><a name="line-329"></a><span> </span><a name="local-6989586621679094100"><a href="#local-6989586621679094100"><span class="hs-identifier">lengthBytes</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Internal.VarInt.html#putVarInt"><span class="hs-identifier hs-var">putVarInt</span></a><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">B</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679094098"><span class="hs-identifier hs-var">str</span></a><span>
|
||||
</span><a name="line-330"></a><span> </span><a name="local-6989586621679094101"><a href="#local-6989586621679094101"><span class="hs-identifier">lengthBytesLen</span></a></a><span> </span><span class="hs-glyph">=</span><span>
|
||||
</span><a name="line-331"></a><span> </span><span class="hs-identifier hs-var">fromIntegral</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">L</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">Builder</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">toLazyByteString</span><span> </span><a href="#local-6989586621679094100"><span class="hs-identifier hs-var">lengthBytes</span></a><span>
|
||||
</span><a name="line-332"></a><span> </span><span class="hs-comment">-- Encode all strings.</span><span>
|
||||
</span><a name="line-333"></a><span> </span><span class="hs-special">(</span><a name="local-6989586621679094091"><a href="#local-6989586621679094091"><span class="hs-identifier">table'</span></a></a><span class="hs-special">,</span><span> </span><a name="local-6989586621679094092"><a href="#local-6989586621679094092"><span class="hs-identifier">strings'</span></a></a><span class="hs-special">,</span><span> </span><span class="hs-identifier">_</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">V</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">foldl'</span><span> </span><a href="#local-6989586621679094090"><span class="hs-identifier hs-var">addString</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">mempty</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">mempty</span><span class="hs-special">,</span><span> </span><span class="hs-number">0</span><span class="hs-special">)</span><span> </span><a href="#local-6989586621679094088"><span class="hs-identifier hs-var">vec</span></a><span>
|
||||
</span><a name="line-334"></a><span> </span><span class="hs-comment">-- Concat offset table with data.</span><span>
|
||||
</span><a name="line-335"></a><span> </span><a name="local-6989586621679094093"><a href="#local-6989586621679094093"><span class="hs-identifier">bytes</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="#local-6989586621679094091"><span class="hs-identifier hs-var">table'</span></a><span> </span><span class="hs-operator hs-var"><></span><span> </span><a href="#local-6989586621679094092"><span class="hs-identifier hs-var">strings'</span></a><span>
|
||||
</span><a name="line-336"></a><span> </span><span class="hs-comment">-- Convert to Vector Word8.</span><span>
|
||||
</span><a name="line-337"></a><span> </span><a name="local-6989586621679094094"><a href="#local-6989586621679094094"><span class="hs-identifier">byteVector</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">S</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">fromList</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">L</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">unpack</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">Builder</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">toLazyByteString</span><span> </span><a href="#local-6989586621679094093"><span class="hs-identifier hs-var">bytes</span></a><span>
|
||||
</span><a name="line-338"></a><span>
|
||||
</span><a name="line-339"></a><span class="hs-keyword">newtype</span><span> </span><a name="Scalar"><a href="TensorFlow.Types.html#Scalar"><span class="hs-identifier">Scalar</span></a></a><span> </span><a name="local-6989586621679093629"><a href="#local-6989586621679093629"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Scalar"><a href="TensorFlow.Types.html#Scalar"><span class="hs-identifier">Scalar</span></a></a><span> </span><span class="hs-special">{</span><a name="unScalar"><a href="TensorFlow.Types.html#unScalar"><span class="hs-identifier">unScalar</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="#local-6989586621679093629"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">}</span><span>
|
||||
</span><a name="line-340"></a><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Num</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Fractional</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Floating</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">Real</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">RealFloat</span><span class="hs-special">,</span><span>
|
||||
</span><a name="line-341"></a><span> </span><span class="hs-identifier hs-type">RealFrac</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">IsString</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-342"></a><span>
|
||||
</span><a name="line-343"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679093741"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">,</span><span> </span><a href="TensorFlow.Types.html#TensorType"><span class="hs-identifier hs-type">TensorType</span></a><span> </span><a href="#local-6989586621679093741"><span class="hs-identifier hs-type">a</span></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=></span><span> </span><a href="TensorFlow.Types.html#TensorDataType"><span class="hs-identifier hs-type">TensorDataType</span></a><span> </span><a href="TensorFlow.Types.html#Scalar"><span class="hs-identifier hs-type">Scalar</span></a><span> </span><a href="#local-6989586621679093741"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-344"></a><span> </span><a name="local-8214565720323868434"><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier">decodeTensorData</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#Scalar"><span class="hs-identifier hs-var">Scalar</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#headFromSingleton"><span class="hs-identifier hs-var">headFromSingleton</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#decodeTensorData"><span class="hs-identifier hs-var">decodeTensorData</span></a><span>
|
||||
</span><a name="line-345"></a><span> </span><a name="local-8214565720323868435"><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier">encodeTensorData</span></a></a><span> </span><a name="local-6989586621679093742"><a href="#local-6989586621679093742"><span class="hs-identifier">x</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#Scalar"><span class="hs-identifier hs-var">Scalar</span></a><span> </span><a name="local-6989586621679093743"><a href="#local-6989586621679093743"><span class="hs-identifier">y</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#encodeTensorData"><span class="hs-identifier hs-var">encodeTensorData</span></a><span> </span><a href="#local-6989586621679093742"><span class="hs-identifier hs-var">x</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">V</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">fromList</span><span> </span><span class="hs-special">[</span><a href="#local-6989586621679093743"><span class="hs-identifier hs-var">y</span></a><span class="hs-special">]</span><span class="hs-special">)</span><span>
|
||||
</span><a name="line-346"></a><span>
|
||||
</span><a name="line-347"></a><span class="hs-identifier">headFromSingleton</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">V</span><span class="hs-operator hs-type">.</span><span class="hs-identifier hs-type">Vector</span><span> </span><a href="#local-6989586621679093638"><span class="hs-identifier hs-type">a</span></a><span> </span><span class="hs-glyph">-></span><span> </span><a href="#local-6989586621679093638"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-348"></a><a name="headFromSingleton"><a href="TensorFlow.Types.html#headFromSingleton"><span class="hs-identifier">headFromSingleton</span></a></a><span> </span><a name="local-6989586621679093645"><a href="#local-6989586621679093645"><span class="hs-identifier">x</span></a></a><span>
|
||||
</span><a name="line-349"></a><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier hs-var">V</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679093645"><span class="hs-identifier hs-var">x</span></a><span> </span><span class="hs-operator hs-var">==</span><span> </span><span class="hs-number">1</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">V</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">head</span><span> </span><a href="#local-6989586621679093645"><span class="hs-identifier hs-var">x</span></a><span>
|
||||
</span><a name="line-350"></a><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier hs-var">otherwise</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">error</span><span> </span><span class="hs-operator hs-var">$</span><span>
|
||||
</span><a name="line-351"></a><span> </span><span class="hs-string">"Unable to extract singleton from tensor of length "</span><span>
|
||||
</span><a name="line-352"></a><span> </span><span class="hs-operator hs-var">++</span><span> </span><span class="hs-identifier hs-var">show</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">V</span><span class="hs-operator hs-var">.</span><span class="hs-identifier hs-var">length</span><span> </span><a href="#local-6989586621679093645"><span class="hs-identifier hs-var">x</span></a><span class="hs-special">)</span><span>
|
||||
</span><a name="line-353"></a><span>
|
||||
</span><a name="line-354"></a><span>
|
||||
</span><a name="line-355"></a><span class="hs-comment">-- | Shape (dimensions) of a tensor.</span><span>
|
||||
</span><a name="line-356"></a><span class="hs-keyword">newtype</span><span> </span><a name="Shape"><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier">Shape</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Shape"><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier">Shape</span></a></a><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int64</span><span class="hs-special">]</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-identifier hs-type">Show</span><span>
|
||||
</span><a name="line-357"></a><span>
|
||||
</span><a name="line-358"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">IsList</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-359"></a><span> </span><span class="hs-keyword">type</span><span> </span><span class="hs-identifier">Item</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-type">Int64</span><span>
|
||||
</span><a name="line-360"></a><span> </span><a name="local-3458764513820541127"><span class="hs-identifier">fromList</span></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">fromList</span><span>
|
||||
</span><a name="line-361"></a><span> </span><a name="local-3458764513820541429"><span class="hs-identifier">toList</span></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><a name="local-6989586621679093740"><a href="#local-6989586621679093740"><span class="hs-identifier">ss</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">toList</span><span> </span><a href="#local-6989586621679093740"><span class="hs-identifier hs-var">ss</span></a><span>
|
||||
</span><a name="line-362"></a><span>
|
||||
</span><a name="line-363"></a><span class="hs-identifier">protoShape</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Lens'</span><span> </span><span class="hs-identifier hs-type">TensorShapeProto</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span>
|
||||
</span><a name="line-364"></a><a name="protoShape"><a href="TensorFlow.Types.html#protoShape"><span class="hs-identifier">protoShape</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">iso</span><span> </span><a href="#local-6989586621679093646"><span class="hs-identifier hs-var">protoToShape</span></a><span> </span><a href="#local-6989586621679093647"><span class="hs-identifier hs-var">shapeToProto</span></a><span>
|
||||
</span><a name="line-365"></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-366"></a><span> </span><a name="local-6989586621679093646"><a href="#local-6989586621679093646"><span class="hs-identifier">protoToShape</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">fmap</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">view</span><span> </span><span class="hs-identifier hs-var">size</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">view</span><span> </span><span class="hs-identifier hs-var">dim</span><span>
|
||||
</span><a name="line-367"></a><span> </span><a name="local-6989586621679093647"><a href="#local-6989586621679093647"><span class="hs-identifier">shapeToProto</span></a></a><span> </span><span class="hs-special">(</span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-var">Shape</span></a><span> </span><a name="local-6989586621679093723"><a href="#local-6989586621679093723"><span class="hs-identifier">ds</span></a></a><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">def</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">TensorShapeProto</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">&</span><span> </span><span class="hs-identifier hs-var">dim</span><span> </span><span class="hs-operator hs-var">.~</span><span> </span><span class="hs-identifier hs-var">fmap</span><span> </span><span class="hs-special">(</span><span class="hs-glyph">\</span><a name="local-6989586621679093724"><a href="#local-6989586621679093724"><span class="hs-identifier">d</span></a></a><span> </span><span class="hs-glyph">-></span><span> </span><span class="hs-identifier hs-var">def</span><span> </span><span class="hs-operator hs-var">&</span><span> </span><span class="hs-identifier hs-var">size</span><span> </span><span class="hs-operator hs-var">.~</span><span> </span><a href="#local-6989586621679093724"><span class="hs-identifier hs-var">d</span></a><span class="hs-special">)</span><span> </span><a href="#local-6989586621679093723"><span class="hs-identifier hs-var">ds</span></a><span>
|
||||
</span><a name="line-368"></a><span>
|
||||
</span><a name="line-369"></a><span>
|
||||
</span><a name="line-370"></a><span class="hs-keyword">class</span><span> </span><a name="Attribute"><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier">Attribute</span></a></a><span> </span><a name="local-6989586621679093628"><a href="#local-6989586621679093628"><span class="hs-identifier">a</span></a></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-371"></a><span> </span><span class="hs-identifier">attrLens</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Lens'</span><span> </span><span class="hs-identifier hs-type">AttrValue</span><span> </span><a href="#local-6989586621679093628"><span class="hs-identifier hs-type">a</span></a><span>
|
||||
</span><a name="line-372"></a><span>
|
||||
</span><a name="line-373"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">Float</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-374"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">f</span><span>
|
||||
</span><a name="line-375"></a><span>
|
||||
</span><a name="line-376"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">ByteString</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-377"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">s</span><span>
|
||||
</span><a name="line-378"></a><span>
|
||||
</span><a name="line-379"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">Int64</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-380"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">i</span><span>
|
||||
</span><a name="line-381"></a><span>
|
||||
</span><a name="line-382"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">DataType</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-383"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">type'</span><span>
|
||||
</span><a name="line-384"></a><span>
|
||||
</span><a name="line-385"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">TensorProto</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-386"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">tensor</span><span>
|
||||
</span><a name="line-387"></a><span>
|
||||
</span><a name="line-388"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-389"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">b</span><span>
|
||||
</span><a name="line-390"></a><span>
|
||||
</span><a name="line-391"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><a href="TensorFlow.Types.html#Shape"><span class="hs-identifier hs-type">Shape</span></a><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-392"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">shape</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="TensorFlow.Types.html#protoShape"><span class="hs-identifier hs-var">protoShape</span></a><span>
|
||||
</span><a name="line-393"></a><span>
|
||||
</span><a name="line-394"></a><span class="hs-comment">-- TODO(gnezdo): support generating list(Foo) from [Foo].</span><span>
|
||||
</span><a name="line-395"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-identifier hs-type">AttrValue'ListValue</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-396"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">list</span><span>
|
||||
</span><a name="line-397"></a><span>
|
||||
</span><a name="line-398"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">DataType</span><span class="hs-special">]</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-399"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">list</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">type'</span><span>
|
||||
</span><a name="line-400"></a><span>
|
||||
</span><a name="line-401"></a><span class="hs-keyword">instance</span><span> </span><a href="TensorFlow.Types.html#Attribute"><span class="hs-identifier hs-type">Attribute</span></a><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int64</span><span class="hs-special">]</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-402"></a><span> </span><a name="local-8214565720323868427"><a href="TensorFlow.Types.html#attrLens"><span class="hs-identifier">attrLens</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">list</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">i</span><span>
|
||||
</span><a name="line-403"></a><span>
|
||||
</span><a name="line-404"></a><span class="hs-comment">-- | A heterogeneous list type.</span><span>
|
||||
</span><a name="line-405"></a><span class="hs-keyword">data</span><span> </span><a name="ListOf"><a href="TensorFlow.Types.html#ListOf"><span class="hs-identifier">ListOf</span></a></a><span> </span><a name="local-6989586621679093622"><a href="#local-6989586621679093622"><span class="hs-identifier">f</span></a></a><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-keyword">where</span><span>
|
||||
</span><a name="line-406"></a><span> </span><a name="Nil"><a href="TensorFlow.Types.html#Nil"><span class="hs-identifier">Nil</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="TensorFlow.Types.html#ListOf"><span class="hs-identifier hs-type">ListOf</span></a><span> </span><a href="#local-6989586621679093624"><span class="hs-identifier hs-type">f</span></a><span> </span><span class="hs-char">'[]
|
||||
(:/) :: f a -> ListOf f as -> ListOf f (a ': as)
|
||||
|
||||
infixr 5 :/
|
||||
|
||||
type family All f as :: Constraint where
|
||||
All f '[] = ()
|
||||
All f (a ': as) = (f a, All f as)
|
||||
|
||||
type family Map f as where
|
||||
Map f '[] = '[]
|
||||
Map f (a ': as) = f a ': Map f as
|
||||
|
||||
instance All Eq (Map f as) => Eq (ListOf f as) where
|
||||
Nil == Nil = True
|
||||
(x :/ xs) == (y :/ ys) = x == y && xs == ys
|
||||
-- Newer versions of GHC use the GADT to tell that the previous cases are
|
||||
-- exhaustive.
|
||||
#if __GLASGOW_HASKELL__ < 800
|
||||
_ == _ = False
|
||||
#endif
|
||||
|
||||
instance All Show (Map f as) => Show (ListOf f as) where
|
||||
showsPrec _ Nil = showString "Nil"
|
||||
showsPrec d (x :/ xs) = showParen (d > 10)
|
||||
$ showsPrec 6 x . showString " :/ "
|
||||
. showsPrec 6 xs
|
||||
|
||||
type List = ListOf Identity
|
||||
|
||||
-- | Equivalent of ':/' for lists.
|
||||
(/:/) :: a -> List as -> List (a ': as)
|
||||
(/:/) = (:/) . Identity
|
||||
|
||||
infixr 5 /:/
|
||||
|
||||
-- | A 'Constraint' specifying the possible choices of a 'TensorType'.
|
||||
--
|
||||
-- We implement a 'Constraint' like @OneOf '[Double, Float] a@ by turning the
|
||||
-- natural representation as a conjunction, i.e.,
|
||||
--
|
||||
-- @
|
||||
-- a == Double || a == Float
|
||||
-- @
|
||||
--
|
||||
-- into a disjunction like
|
||||
--
|
||||
-- @
|
||||
-- a \/= Int32 && a \/= Int64 && a \/= ByteString && ...
|
||||
-- @
|
||||
--
|
||||
-- using an enumeration of all the possible 'TensorType's.
|
||||
type OneOf ts a
|
||||
-- Assert `TensorTypes' ts` to make error messages a little better.
|
||||
= (TensorType a, TensorTypes' ts, NoneOf (AllTensorTypes \\ ts) a)
|
||||
|
||||
type OneOfs ts as = (TensorTypes as, TensorTypes' ts,
|
||||
NoneOfs (AllTensorTypes \\ ts) as)
|
||||
|
||||
type family NoneOfs ts as :: Constraint where
|
||||
NoneOfs ts '[] = ()
|
||||
NoneOfs ts (a ': as) = (NoneOf ts a, NoneOfs ts as)
|
||||
|
||||
data TensorTypeProxy a where
|
||||
TensorTypeProxy :: TensorType a => TensorTypeProxy a
|
||||
|
||||
type TensorTypeList = ListOf TensorTypeProxy
|
||||
|
||||
fromTensorTypeList :: TensorTypeList ts -> [DataType]
|
||||
fromTensorTypeList Nil = []
|
||||
fromTensorTypeList ((TensorTypeProxy :: TensorTypeProxy t) :/ ts)
|
||||
= tensorType (undefined :: t) : fromTensorTypeList ts
|
||||
|
||||
fromTensorTypes :: forall as . TensorTypes as => Proxy as -> [DataType]
|
||||
fromTensorTypes _ = fromTensorTypeList (tensorTypes :: TensorTypeList as)
|
||||
|
||||
class TensorTypes (ts :: [*]) where
|
||||
tensorTypes :: TensorTypeList ts
|
||||
|
||||
instance TensorTypes '[] where
|
||||
tensorTypes = Nil
|
||||
|
||||
-- | A constraint that the input is a list of 'TensorTypes'.
|
||||
instance (TensorType t, TensorTypes ts) => TensorTypes (t ': ts) where
|
||||
tensorTypes = TensorTypeProxy :/ tensorTypes
|
||||
|
||||
-- | A simpler version of the 'TensorTypes' class, that doesn't run
|
||||
-- afoul of @-Wsimplifiable-class-constraints@.
|
||||
--
|
||||
-- In more detail: the constraint @OneOf '[Double, Float] a@ leads
|
||||
-- to the constraint @TensorTypes' '[Double, Float]@, as a safety-check
|
||||
-- to give better error messages. However, if @TensorTypes'@ were a class,
|
||||
-- then GHC 8.2.1 would complain with the above warning unless @NoMonoBinds@
|
||||
-- were enabled. So instead, we use a separate type family for this purpose.
|
||||
-- For more details: https://ghc.haskell.org/trac/ghc/ticket/11948
|
||||
type family TensorTypes' (ts :: [*]) :: Constraint where
|
||||
-- Specialize this type family when `ts` is a long list, to avoid deeply
|
||||
-- nested tuples of constraints. Works around a bug in ghc-8.0:
|
||||
-- https://ghc.haskell.org/trac/ghc/ticket/12175
|
||||
TensorTypes' (t1 ': t2 ': t3 ': t4 ': ts)
|
||||
= (TensorType t1, TensorType t2, TensorType t3, TensorType t4
|
||||
, TensorTypes' ts)
|
||||
TensorTypes' (t1 ': t2 ': t3 ': ts)
|
||||
= (TensorType t1, TensorType t2, TensorType t3, TensorTypes' ts)
|
||||
TensorTypes' (t1 ': t2 ': ts)
|
||||
= (TensorType t1, TensorType t2, TensorTypes' ts)
|
||||
TensorTypes' (t ': ts) = (TensorType t, TensorTypes' ts)
|
||||
TensorTypes' '[] = ()
|
||||
|
||||
-- | A constraint checking that two types are different.
|
||||
type family a /= b :: Constraint where
|
||||
a /= a = TypeError a ~ ExcludedCase
|
||||
a /= b = ()
|
||||
|
||||
-- | Helper types to produce a reasonable type error message when the Constraint
|
||||
-- "a /= a" fails.
|
||||
-- TODO(judahjacobson): Use ghc-8's CustomTypeErrors for this.
|
||||
data TypeError a
|
||||
data ExcludedCase
|
||||
|
||||
-- | An enumeration of all valid 'TensorType's.
|
||||
type AllTensorTypes =
|
||||
-- NOTE: This list should be kept in sync with
|
||||
-- TensorFlow.OpGen.dtTypeToHaskell.
|
||||
-- TODO: Add support for Complex Float/Double.
|
||||
'[ Float
|
||||
, Double
|
||||
, Int8
|
||||
, Int16
|
||||
, Int32
|
||||
, Int64
|
||||
, Word8
|
||||
, Word16
|
||||
, ByteString
|
||||
, Bool
|
||||
]
|
||||
|
||||
-- | Removes a type from the given list of types.
|
||||
type family Delete a as where
|
||||
Delete a '[] = '[]
|
||||
Delete a (a ': as) = Delete a as
|
||||
Delete a (b ': as) = b ': Delete a as
|
||||
|
||||
-- | Takes the difference of two lists of types.
|
||||
type family as \\ bs where
|
||||
as \\ '[] = as
|
||||
as \\ (b ': bs) = Delete b as \\ bs
|
||||
|
||||
-- | A constraint that the type @a@ doesn't appear in the type list @ts@.
|
||||
-- Assumes that @a@ and each of the elements of @ts@ are 'TensorType's.
|
||||
type family NoneOf ts a :: Constraint where
|
||||
-- Specialize this type family when `ts` is a long list, to avoid deeply
|
||||
-- nested tuples of constraints. Works around a bug in ghc-8.0:
|
||||
-- https://ghc.haskell.org/trac/ghc/ticket/12175
|
||||
NoneOf (t1 ': t2 ': t3 ': t4 ': ts) a
|
||||
= (a /= t1, a /= t2, a /= t3, a /= t4, NoneOf ts a)
|
||||
NoneOf (t1 ': t2 ': t3 ': ts) a = (a /= t1, a /= t2, a /= t3, NoneOf ts a)
|
||||
NoneOf (t1 ': t2 ': ts) a = (a /= t1, a /= t2, NoneOf ts a)
|
||||
NoneOf (t1 ': ts) a = (a /= t1, NoneOf ts a)
|
||||
NoneOf '[] a = ()
|
||||
</span></pre></body></html>
|
14
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Build.html
Normal file
14
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Build.html
Normal file
File diff suppressed because one or more lines are too long
6
docs/haddock/tensorflow-0.2.0.0/TensorFlow-BuildOp.html
Normal file
6
docs/haddock/tensorflow-0.2.0.0/TensorFlow-BuildOp.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
<!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.ControlFlow</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-ControlFlow.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.ControlFlow</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow.ControlFlow.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-0.1.0.2: TensorFlow bindings.</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.ControlFlow</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Dependencies</a></li><li><a href="#g:2">Operations</a></li></ul></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"><a href="#v:withControlDependencies">withControlDependencies</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m a -> m a</li><li class="src short"><a href="#v:group">group</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li><li class="src short"><a href="#v:noOp">noOp</a> :: <a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li></ul></div><div id="interface"><h1 id="g:1">Dependencies</h1><div class="top"><p class="src"><a id="v:withControlDependencies" class="def">withControlDependencies</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m a -> m a <a href="src/TensorFlow.ControlFlow.html#withControlDependencies" class="link">Source</a> <a href="#v:withControlDependencies" class="selflink">#</a></p><div class="doc"><p>Modify a <code><a href="TensorFlow-Build.html#t:Build">Build</a></code> action, such that all new ops rendered in it will depend
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow.ControlFlow.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-0.2.0.0: TensorFlow bindings.</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.ControlFlow</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Dependencies</a></li><li><a href="#g:2">Operations</a></li></ul></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"><a href="#v:withControlDependencies">withControlDependencies</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m a -> m a</li><li class="src short"><a href="#v:group">group</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li><li class="src short"><a href="#v:noOp">noOp</a> :: <a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a></li></ul></div><div id="interface"><h1 id="g:1">Dependencies</h1><div class="top"><p class="src"><a id="v:withControlDependencies" class="def">withControlDependencies</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m a -> m a <a href="src/TensorFlow.ControlFlow.html#withControlDependencies" class="link">Source</a> <a href="#v:withControlDependencies" class="selflink">#</a></p><div class="doc"><p>Modify a <code><a href="TensorFlow-Build.html#t:Build">Build</a></code> action, such that all new ops rendered in it will depend
|
||||
on the nodes in the first argument.</p></div></div><div class="top"><p class="src"><a id="v:group" class="def">group</a> :: (<a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <a href="TensorFlow-Nodes.html#t:Nodes">Nodes</a> t) => t -> m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> <a href="src/TensorFlow.ControlFlow.html#group" class="link">Source</a> <a href="#v:group" class="selflink">#</a></p><div class="doc"><p>Create an op that groups multiple operations.</p><p>When this op finishes, all ops in the input <code>n</code> have finished. This op has
|
||||
no output.</p></div></div><h1 id="g:2">Operations</h1><div class="top"><p class="src"><a id="v:noOp" class="def">noOp</a> :: <a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> <a href="src/TensorFlow.ControlFlow.html#noOp" class="link">Source</a> <a href="#v:noOp" class="selflink">#</a></p><div class="doc"><p>Does nothing. Only useful as a placeholder for control edges.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|
||||
no output.</p></div></div><h1 id="g:2">Operations</h1><div class="top"><p class="src"><a id="v:noOp" class="def">noOp</a> :: <a href="TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <a href="TensorFlow-Output.html#t:ControlNode">ControlNode</a> <a href="src/TensorFlow.ControlFlow.html#noOp" class="link">Source</a> <a href="#v:noOp" class="selflink">#</a></p><div class="doc"><p>Does nothing. Only useful as a placeholder for control edges.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
51
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Core.html
Normal file
51
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Core.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,4 @@
|
|||
<!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.Internal.VarInt</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow.Internal.VarInt.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tensorflow-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">TensorFlow.Internal.VarInt</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Originally taken from internal proto-lens code.</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"><a href="#v:getVarInt">getVarInt</a> :: Parser <a href="../base-4.10.1.0/Data-Word.html#t:Word64">Word64</a></li><li class="src short"><a href="#v:putVarInt">putVarInt</a> :: <a href="../base-4.10.1.0/Data-Word.html#t:Word64">Word64</a> -> <a href="../binary-0.8.5.1/Data-Binary-Builder.html#t:Builder">Builder</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:getVarInt" class="def">getVarInt</a> :: Parser <a href="../base-4.10.1.0/Data-Word.html#t:Word64">Word64</a> <a href="src/TensorFlow.Internal.VarInt.html#getVarInt" class="link">Source</a> <a href="#v:getVarInt" class="selflink">#</a></p><div class="doc"><p>Decode an unsigned varint.</p></div></div><div class="top"><p class="src"><a id="v:putVarInt" class="def">putVarInt</a> :: <a href="../base-4.10.1.0/Data-Word.html#t:Word64">Word64</a> -> <a href="../binary-0.8.5.1/Data-Binary-Builder.html#t:Builder">Builder</a> <a href="src/TensorFlow.Internal.VarInt.html#putVarInt" class="link">Source</a> <a href="#v:putVarInt" class="selflink">#</a></p><div class="doc"><p>Encode a Word64.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
6
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Nodes.html
Normal file
6
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Nodes.html
Normal file
File diff suppressed because one or more lines are too long
12
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Output.html
Normal file
12
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Output.html
Normal file
File diff suppressed because one or more lines are too long
19
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Session.html
Normal file
19
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Session.html
Normal file
File diff suppressed because one or more lines are too long
25
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Tensor.html
Normal file
25
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Tensor.html
Normal file
File diff suppressed because one or more lines are too long
15
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Types.html
Normal file
15
docs/haddock/tensorflow-0.2.0.0/TensorFlow-Types.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - /)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - /)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - /</p><table><tr><td class="src">/:/</td><td class="module"><a href="TensorFlow-Types.html#v:-47-:-47-">TensorFlow.Types</a></td></tr><tr><td class="src">/=</td><td class="module"><a href="TensorFlow-Types.html#t:-47--61-">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:-47--61-">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - /</p><table><tr><td class="src">/:/</td><td class="module"><a href="TensorFlow-Types.html#v:-47-:-47-">TensorFlow.Types</a></td></tr><tr><td class="src">/=</td><td class="module"><a href="TensorFlow-Types.html#t:-47--61-">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:-47--61-">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - :)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - :)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - :</p><table><tr><td class="src">:/</td><td class="module"><a href="TensorFlow-Types.html#v::-47-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - :</p><table><tr><td class="src">:/</td><td class="module"><a href="TensorFlow-Types.html#v::-47-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - \)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - \)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - \</p><table><tr><td class="src">\\</td><td class="module"><a href="TensorFlow-Types.html#t:-92--92-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - \</p><table><tr><td class="src">\\</td><td class="module"><a href="TensorFlow-Types.html#t:-92--92-">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - _)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - _)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - _</p><table><tr><td class="src">_opAttrs</td><td class="module"><a href="TensorFlow-Output.html#v:_opAttrs">TensorFlow.Output</a></td></tr><tr><td class="src">_opControlInputs</td><td class="module"><a href="TensorFlow-Output.html#v:_opControlInputs">TensorFlow.Output</a></td></tr><tr><td class="src">_opInputs</td><td class="module"><a href="TensorFlow-Output.html#v:_opInputs">TensorFlow.Output</a></td></tr><tr><td class="src">_opName</td><td class="module"><a href="TensorFlow-Output.html#v:_opName">TensorFlow.Output</a></td></tr><tr><td class="src">_opType</td><td class="module"><a href="TensorFlow-Output.html#v:_opType">TensorFlow.Output</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - _</p><table><tr><td class="src">_opAttrs</td><td class="module"><a href="TensorFlow-Output.html#v:_opAttrs">TensorFlow.Output</a></td></tr><tr><td class="src">_opControlInputs</td><td class="module"><a href="TensorFlow-Output.html#v:_opControlInputs">TensorFlow.Output</a></td></tr><tr><td class="src">_opInputs</td><td class="module"><a href="TensorFlow-Output.html#v:_opInputs">TensorFlow.Output</a></td></tr><tr><td class="src">_opName</td><td class="module"><a href="TensorFlow-Output.html#v:_opName">TensorFlow.Output</a></td></tr><tr><td class="src">_opType</td><td class="module"><a href="TensorFlow-Output.html#v:_opType">TensorFlow.Output</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - A)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - A)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - A</p><table><tr><td class="src">addGraphDef</td><td class="module"><a href="TensorFlow-Build.html#v:addGraphDef">TensorFlow.Build</a>, <a href="TensorFlow-Session.html#v:addGraphDef">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:addGraphDef">TensorFlow.Core</a></td></tr><tr><td class="src">addInitializer</td><td class="module"><a href="TensorFlow-Build.html#v:addInitializer">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:addInitializer">TensorFlow.Core</a></td></tr><tr><td class="src">addNewOp</td><td class="module"><a href="TensorFlow-Build.html#v:addNewOp">TensorFlow.Build</a></td></tr><tr><td class="src">addSummary</td><td class="module"><a href="TensorFlow-Tensor.html#v:addSummary">TensorFlow.Tensor</a></td></tr><tr><td class="src">AllTensorTypes</td><td class="module"><a href="TensorFlow-Types.html#t:AllTensorTypes">TensorFlow.Types</a></td></tr><tr><td class="src">asGraphDef</td><td class="module"><a href="TensorFlow-Build.html#v:asGraphDef">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:asGraphDef">TensorFlow.Core</a></td></tr><tr><td class="src">asyncProdNodes</td><td class="module"><a href="TensorFlow-Session.html#v:asyncProdNodes">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:asyncProdNodes">TensorFlow.Core</a></td></tr><tr><td class="src">Attribute</td><td class="module"><a href="TensorFlow-Types.html#t:Attribute">TensorFlow.Types</a></td></tr><tr><td class="src">attrLens</td><td class="module"><a href="TensorFlow-Types.html#v:attrLens">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - A</p><table><tr><td class="src">addGraphDef</td><td class="module"><a href="TensorFlow-Build.html#v:addGraphDef">TensorFlow.Build</a>, <a href="TensorFlow-Session.html#v:addGraphDef">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:addGraphDef">TensorFlow.Core</a></td></tr><tr><td class="src">addInitializer</td><td class="module"><a href="TensorFlow-Build.html#v:addInitializer">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:addInitializer">TensorFlow.Core</a></td></tr><tr><td class="src">addNewOp</td><td class="module"><a href="TensorFlow-Build.html#v:addNewOp">TensorFlow.Build</a></td></tr><tr><td class="src">addSummary</td><td class="module"><a href="TensorFlow-Tensor.html#v:addSummary">TensorFlow.Tensor</a></td></tr><tr><td class="src">AllTensorTypes</td><td class="module"><a href="TensorFlow-Types.html#t:AllTensorTypes">TensorFlow.Types</a></td></tr><tr><td class="src">asGraphDef</td><td class="module"><a href="TensorFlow-Build.html#v:asGraphDef">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:asGraphDef">TensorFlow.Core</a></td></tr><tr><td class="src">asyncProdNodes</td><td class="module"><a href="TensorFlow-Session.html#v:asyncProdNodes">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:asyncProdNodes">TensorFlow.Core</a></td></tr><tr><td class="src">Attribute</td><td class="module"><a href="TensorFlow-Types.html#t:Attribute">TensorFlow.Types</a></td></tr><tr><td class="src">attrLens</td><td class="module"><a href="TensorFlow-Types.html#v:attrLens">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
4
docs/haddock/tensorflow-0.2.0.0/doc-index-All.html
Normal file
4
docs/haddock/tensorflow-0.2.0.0/doc-index-All.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - B)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - B)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - B</p><table><tr><td class="src">Build</td><td class="module"><a href="TensorFlow-Build.html#t:Build">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#t:Build">TensorFlow.Core</a></td></tr><tr><td class="src">build</td><td class="module"><a href="TensorFlow-Build.html#v:build">TensorFlow.Build</a>, <a href="TensorFlow-Session.html#v:build">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:build">TensorFlow.Core</a></td></tr><tr><td class="src">BuildInputs</td><td class="module"><a href="TensorFlow-BuildOp.html#t:BuildInputs">TensorFlow.BuildOp</a></td></tr><tr><td class="src">buildInputs</td><td class="module"><a href="TensorFlow-BuildOp.html#v:buildInputs">TensorFlow.BuildOp</a></td></tr><tr><td class="src">buildOp</td><td class="module"><a href="TensorFlow-BuildOp.html#v:buildOp">TensorFlow.BuildOp</a></td></tr><tr><td class="src">BuildResult</td><td class="module"><a href="TensorFlow-BuildOp.html#t:BuildResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">buildResult</td><td class="module"><a href="TensorFlow-BuildOp.html#v:buildResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">BuildT</td><td class="module"><a href="TensorFlow-Build.html#t:BuildT">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#t:BuildT">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - B</p><table><tr><td class="src">Build</td><td class="module"><a href="TensorFlow-Build.html#t:Build">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#t:Build">TensorFlow.Core</a></td></tr><tr><td class="src">build</td><td class="module"><a href="TensorFlow-Build.html#v:build">TensorFlow.Build</a>, <a href="TensorFlow-Session.html#v:build">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:build">TensorFlow.Core</a></td></tr><tr><td class="src">BuildInputs</td><td class="module"><a href="TensorFlow-BuildOp.html#t:BuildInputs">TensorFlow.BuildOp</a></td></tr><tr><td class="src">buildInputs</td><td class="module"><a href="TensorFlow-BuildOp.html#v:buildInputs">TensorFlow.BuildOp</a></td></tr><tr><td class="src">buildOp</td><td class="module"><a href="TensorFlow-BuildOp.html#v:buildOp">TensorFlow.BuildOp</a></td></tr><tr><td class="src">BuildResult</td><td class="module"><a href="TensorFlow-BuildOp.html#t:BuildResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">buildResult</td><td class="module"><a href="TensorFlow-BuildOp.html#v:buildResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">BuildT</td><td class="module"><a href="TensorFlow-Build.html#t:BuildT">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#t:BuildT">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - C)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - C)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - C</p><table><tr><td class="src">collectAllSummaries</td><td class="module"><a href="TensorFlow-Tensor.html#v:collectAllSummaries">TensorFlow.Tensor</a></td></tr><tr><td class="src">colocateWith</td><td class="module"><a href="TensorFlow-Tensor.html#v:colocateWith">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:colocateWith">TensorFlow.Core</a></td></tr><tr><td class="src">ControlNode</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Output.html#t:ControlNode">TensorFlow.Output</a>, <a href="TensorFlow-Build.html#t:ControlNode">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#t:ControlNode">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Output.html#v:ControlNode">TensorFlow.Output</a>, <a href="TensorFlow-Build.html#v:ControlNode">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - C</p><table><tr><td class="src">collectAllSummaries</td><td class="module"><a href="TensorFlow-Tensor.html#v:collectAllSummaries">TensorFlow.Tensor</a></td></tr><tr><td class="src">colocateWith</td><td class="module"><a href="TensorFlow-Tensor.html#v:colocateWith">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:colocateWith">TensorFlow.Core</a></td></tr><tr><td class="src">ControlNode</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Output.html#t:ControlNode">TensorFlow.Output</a>, <a href="TensorFlow-Build.html#t:ControlNode">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#t:ControlNode">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Output.html#v:ControlNode">TensorFlow.Output</a>, <a href="TensorFlow-Build.html#v:ControlNode">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - E)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - E)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - E</p><table><tr><td class="src">encodeOutput</td><td class="module"><a href="TensorFlow-Build.html#v:encodeOutput">TensorFlow.Build</a></td></tr><tr><td class="src">encodeTensorData</td><td class="module"><a href="TensorFlow-Types.html#v:encodeTensorData">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:encodeTensorData">TensorFlow.Core</a></td></tr><tr><td class="src">eqLengthGuard</td><td class="module"><a href="TensorFlow-BuildOp.html#v:eqLengthGuard">TensorFlow.BuildOp</a></td></tr><tr><td class="src">evalBuildT</td><td class="module"><a href="TensorFlow-Build.html#v:evalBuildT">TensorFlow.Build</a></td></tr><tr><td class="src">ExcludedCase</td><td class="module"><a href="TensorFlow-Types.html#t:ExcludedCase">TensorFlow.Types</a></td></tr><tr><td class="src">ExplicitName</td><td class="module"><a href="TensorFlow-Output.html#v:ExplicitName">TensorFlow.Output</a></td></tr><tr><td class="src">explicitName</td><td class="module"><a href="TensorFlow-Build.html#v:explicitName">TensorFlow.Build</a></td></tr><tr><td class="src">expr</td><td class="module"><a href="TensorFlow-Tensor.html#v:expr">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:expr">TensorFlow.Core</a></td></tr><tr><td class="src">extend</td><td class="module"><a href="TensorFlow-Session.html#v:extend">TensorFlow.Session</a></td></tr><tr><td class="src">extendGraph</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:extendGraph">TensorFlow.Internal.FFI</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - E</p><table><tr><td class="src">encodeOutput</td><td class="module"><a href="TensorFlow-Build.html#v:encodeOutput">TensorFlow.Build</a></td></tr><tr><td class="src">encodeTensorData</td><td class="module"><a href="TensorFlow-Types.html#v:encodeTensorData">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:encodeTensorData">TensorFlow.Core</a></td></tr><tr><td class="src">eqLengthGuard</td><td class="module"><a href="TensorFlow-BuildOp.html#v:eqLengthGuard">TensorFlow.BuildOp</a></td></tr><tr><td class="src">evalBuildT</td><td class="module"><a href="TensorFlow-Build.html#v:evalBuildT">TensorFlow.Build</a></td></tr><tr><td class="src">ExcludedCase</td><td class="module"><a href="TensorFlow-Types.html#t:ExcludedCase">TensorFlow.Types</a></td></tr><tr><td class="src">ExplicitName</td><td class="module"><a href="TensorFlow-Output.html#v:ExplicitName">TensorFlow.Output</a></td></tr><tr><td class="src">explicitName</td><td class="module"><a href="TensorFlow-Build.html#v:explicitName">TensorFlow.Build</a></td></tr><tr><td class="src">expr</td><td class="module"><a href="TensorFlow-Tensor.html#v:expr">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:expr">TensorFlow.Core</a></td></tr><tr><td class="src">extend</td><td class="module"><a href="TensorFlow-Session.html#v:extend">TensorFlow.Session</a></td></tr><tr><td class="src">extendGraph</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:extendGraph">TensorFlow.Internal.FFI</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - F)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - F)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - F</p><table><tr><td class="src">Feed</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Tensor.html#t:Feed">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#t:Feed">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Tensor.html#v:Feed">TensorFlow.Tensor</a></td></tr><tr><td class="src">feed</td><td class="module"><a href="TensorFlow-Tensor.html#v:feed">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:feed">TensorFlow.Core</a></td></tr><tr><td class="src">Fetch</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Nodes.html#t:Fetch">TensorFlow.Nodes</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Nodes.html#v:Fetch">TensorFlow.Nodes</a></td></tr><tr><td class="src">Fetchable</td><td class="module"><a href="TensorFlow-Nodes.html#t:Fetchable">TensorFlow.Nodes</a>, <a href="TensorFlow-Core.html#t:Fetchable">TensorFlow.Core</a></td></tr><tr><td class="src">fetches</td><td class="module"><a href="TensorFlow-Nodes.html#v:fetches">TensorFlow.Nodes</a></td></tr><tr><td class="src">fetchRestore</td><td class="module"><a href="TensorFlow-Nodes.html#v:fetchRestore">TensorFlow.Nodes</a></td></tr><tr><td class="src">fetchTensorVector</td><td class="module"><a href="TensorFlow-Nodes.html#v:fetchTensorVector">TensorFlow.Nodes</a></td></tr><tr><td class="src">flushInitializers</td><td class="module"><a href="TensorFlow-Build.html#v:flushInitializers">TensorFlow.Build</a></td></tr><tr><td class="src">flushNodeBuffer</td><td class="module"><a href="TensorFlow-Build.html#v:flushNodeBuffer">TensorFlow.Build</a></td></tr><tr><td class="src">fromTensorTypeList</td><td class="module"><a href="TensorFlow-Types.html#v:fromTensorTypeList">TensorFlow.Types</a></td></tr><tr><td class="src">fromTensorTypes</td><td class="module"><a href="TensorFlow-Types.html#v:fromTensorTypes">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - F</p><table><tr><td class="src">Feed</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Tensor.html#t:Feed">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#t:Feed">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Tensor.html#v:Feed">TensorFlow.Tensor</a></td></tr><tr><td class="src">feed</td><td class="module"><a href="TensorFlow-Tensor.html#v:feed">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:feed">TensorFlow.Core</a></td></tr><tr><td class="src">Fetch</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Nodes.html#t:Fetch">TensorFlow.Nodes</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Nodes.html#v:Fetch">TensorFlow.Nodes</a></td></tr><tr><td class="src">Fetchable</td><td class="module"><a href="TensorFlow-Nodes.html#t:Fetchable">TensorFlow.Nodes</a>, <a href="TensorFlow-Core.html#t:Fetchable">TensorFlow.Core</a></td></tr><tr><td class="src">fetches</td><td class="module"><a href="TensorFlow-Nodes.html#v:fetches">TensorFlow.Nodes</a></td></tr><tr><td class="src">fetchRestore</td><td class="module"><a href="TensorFlow-Nodes.html#v:fetchRestore">TensorFlow.Nodes</a></td></tr><tr><td class="src">fetchTensorVector</td><td class="module"><a href="TensorFlow-Nodes.html#v:fetchTensorVector">TensorFlow.Nodes</a></td></tr><tr><td class="src">flushInitializers</td><td class="module"><a href="TensorFlow-Build.html#v:flushInitializers">TensorFlow.Build</a></td></tr><tr><td class="src">flushNodeBuffer</td><td class="module"><a href="TensorFlow-Build.html#v:flushNodeBuffer">TensorFlow.Build</a></td></tr><tr><td class="src">fromTensorTypeList</td><td class="module"><a href="TensorFlow-Types.html#v:fromTensorTypeList">TensorFlow.Types</a></td></tr><tr><td class="src">fromTensorTypes</td><td class="module"><a href="TensorFlow-Types.html#v:fromTensorTypes">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - G)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - G)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - G</p><table><tr><td class="src">getAllOpList</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:getAllOpList">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">getFetch</td><td class="module"><a href="TensorFlow-Nodes.html#v:getFetch">TensorFlow.Nodes</a></td></tr><tr><td class="src">getNodes</td><td class="module"><a href="TensorFlow-Nodes.html#v:getNodes">TensorFlow.Nodes</a></td></tr><tr><td class="src">getOrAddOp</td><td class="module"><a href="TensorFlow-Build.html#v:getOrAddOp">TensorFlow.Build</a></td></tr><tr><td class="src">getVarInt</td><td class="module"><a href="TensorFlow-Internal-VarInt.html#v:getVarInt">TensorFlow.Internal.VarInt</a></td></tr><tr><td class="src">GraphState</td><td class="module"><a href="TensorFlow-Build.html#t:GraphState">TensorFlow.Build</a></td></tr><tr><td class="src">group</td><td class="module"><a href="TensorFlow-ControlFlow.html#v:group">TensorFlow.ControlFlow</a>, <a href="TensorFlow-Core.html#v:group">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - G</p><table><tr><td class="src">getAllOpList</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:getAllOpList">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">getFetch</td><td class="module"><a href="TensorFlow-Nodes.html#v:getFetch">TensorFlow.Nodes</a></td></tr><tr><td class="src">getNodes</td><td class="module"><a href="TensorFlow-Nodes.html#v:getNodes">TensorFlow.Nodes</a></td></tr><tr><td class="src">getOrAddOp</td><td class="module"><a href="TensorFlow-Build.html#v:getOrAddOp">TensorFlow.Build</a></td></tr><tr><td class="src">getVarInt</td><td class="module"><a href="TensorFlow-Internal-VarInt.html#v:getVarInt">TensorFlow.Internal.VarInt</a></td></tr><tr><td class="src">GraphState</td><td class="module"><a href="TensorFlow-Build.html#t:GraphState">TensorFlow.Build</a></td></tr><tr><td class="src">group</td><td class="module"><a href="TensorFlow-ControlFlow.html#v:group">TensorFlow.ControlFlow</a>, <a href="TensorFlow-Core.html#v:group">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - H)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - H)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - H</p><table><tr><td class="src">hoistBuildT</td><td class="module"><a href="TensorFlow-Build.html#v:hoistBuildT">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - H</p><table><tr><td class="src">hoistBuildT</td><td class="module"><a href="TensorFlow-Build.html#v:hoistBuildT">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - I)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - I)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - I</p><table><tr><td class="src">ImplicitName</td><td class="module"><a href="TensorFlow-Output.html#v:ImplicitName">TensorFlow.Output</a></td></tr><tr><td class="src">implicitName</td><td class="module"><a href="TensorFlow-Build.html#v:implicitName">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - I</p><table><tr><td class="src">ImplicitName</td><td class="module"><a href="TensorFlow-Output.html#v:ImplicitName">TensorFlow.Output</a></td></tr><tr><td class="src">implicitName</td><td class="module"><a href="TensorFlow-Build.html#v:implicitName">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - L)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - L)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - L</p><table><tr><td class="src">List</td><td class="module"><a href="TensorFlow-Types.html#t:List">TensorFlow.Types</a></td></tr><tr><td class="src">ListOf</td><td class="module"><a href="TensorFlow-Types.html#t:ListOf">TensorFlow.Types</a></td></tr><tr><td class="src">lookupNode</td><td class="module"><a href="TensorFlow-Build.html#v:lookupNode">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - L</p><table><tr><td class="src">List</td><td class="module"><a href="TensorFlow-Types.html#t:List">TensorFlow.Types</a></td></tr><tr><td class="src">ListOf</td><td class="module"><a href="TensorFlow-Types.html#t:ListOf">TensorFlow.Types</a></td></tr><tr><td class="src">lookupNode</td><td class="module"><a href="TensorFlow-Build.html#v:lookupNode">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - M)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - M)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - M</p><table><tr><td class="src">MonadBuild</td><td class="module"><a href="TensorFlow-Build.html#t:MonadBuild">TensorFlow.Build</a>, <a href="TensorFlow-Session.html#t:MonadBuild">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#t:MonadBuild">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - M</p><table><tr><td class="src">MonadBuild</td><td class="module"><a href="TensorFlow-Build.html#t:MonadBuild">TensorFlow.Build</a>, <a href="TensorFlow-Session.html#t:MonadBuild">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#t:MonadBuild">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - N)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - N)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - N</p><table><tr><td class="src">Nil</td><td class="module"><a href="TensorFlow-Types.html#v:Nil">TensorFlow.Types</a></td></tr><tr><td class="src">NodeName</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Output.html#t:NodeName">TensorFlow.Output</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Output.html#v:NodeName">TensorFlow.Output</a></td></tr><tr><td class="src">Nodes</td><td class="module"><a href="TensorFlow-Nodes.html#t:Nodes">TensorFlow.Nodes</a>, <a href="TensorFlow-Core.html#t:Nodes">TensorFlow.Core</a></td></tr><tr><td class="src">nodesUnion</td><td class="module"><a href="TensorFlow-Nodes.html#v:nodesUnion">TensorFlow.Nodes</a></td></tr><tr><td class="src">NoneOf</td><td class="module"><a href="TensorFlow-Types.html#t:NoneOf">TensorFlow.Types</a></td></tr><tr><td class="src">noOp</td><td class="module"><a href="TensorFlow-ControlFlow.html#v:noOp">TensorFlow.ControlFlow</a>, <a href="TensorFlow-Core.html#v:noOp">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - N</p><table><tr><td class="src">Nil</td><td class="module"><a href="TensorFlow-Types.html#v:Nil">TensorFlow.Types</a></td></tr><tr><td class="src">NodeName</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Output.html#t:NodeName">TensorFlow.Output</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Output.html#v:NodeName">TensorFlow.Output</a></td></tr><tr><td class="src">Nodes</td><td class="module"><a href="TensorFlow-Nodes.html#t:Nodes">TensorFlow.Nodes</a>, <a href="TensorFlow-Core.html#t:Nodes">TensorFlow.Core</a></td></tr><tr><td class="src">nodesUnion</td><td class="module"><a href="TensorFlow-Nodes.html#v:nodesUnion">TensorFlow.Nodes</a></td></tr><tr><td class="src">NoneOf</td><td class="module"><a href="TensorFlow-Types.html#t:NoneOf">TensorFlow.Types</a></td></tr><tr><td class="src">noOp</td><td class="module"><a href="TensorFlow-ControlFlow.html#v:noOp">TensorFlow.ControlFlow</a>, <a href="TensorFlow-Core.html#v:noOp">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - P)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - P)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - P</p><table><tr><td class="src">PendingNodeName</td><td class="module"><a href="TensorFlow-Output.html#t:PendingNodeName">TensorFlow.Output</a></td></tr><tr><td class="src">protoShape</td><td class="module"><a href="TensorFlow-Types.html#v:protoShape">TensorFlow.Types</a></td></tr><tr><td class="src">pureOp</td><td class="module"><a href="TensorFlow-BuildOp.html#v:pureOp">TensorFlow.BuildOp</a></td></tr><tr><td class="src">PureResult</td><td class="module"><a href="TensorFlow-BuildOp.html#t:PureResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">pureResult</td><td class="module"><a href="TensorFlow-BuildOp.html#v:pureResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">putVarInt</td><td class="module"><a href="TensorFlow-Internal-VarInt.html#v:putVarInt">TensorFlow.Internal.VarInt</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - P</p><table><tr><td class="src">PendingNodeName</td><td class="module"><a href="TensorFlow-Output.html#t:PendingNodeName">TensorFlow.Output</a></td></tr><tr><td class="src">protoShape</td><td class="module"><a href="TensorFlow-Types.html#v:protoShape">TensorFlow.Types</a></td></tr><tr><td class="src">pureOp</td><td class="module"><a href="TensorFlow-BuildOp.html#v:pureOp">TensorFlow.BuildOp</a></td></tr><tr><td class="src">PureResult</td><td class="module"><a href="TensorFlow-BuildOp.html#t:PureResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">pureResult</td><td class="module"><a href="TensorFlow-BuildOp.html#v:pureResult">TensorFlow.BuildOp</a></td></tr><tr><td class="src">putVarInt</td><td class="module"><a href="TensorFlow-Internal-VarInt.html#v:putVarInt">TensorFlow.Internal.VarInt</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - R)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - R)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - R</p><table><tr><td class="src">Ref</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Tensor.html#t:Ref">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#t:Ref">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Tensor.html#v:Ref">TensorFlow.Tensor</a></td></tr><tr><td class="src">render</td><td class="module"><a href="TensorFlow-Tensor.html#v:render">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:render">TensorFlow.Core</a></td></tr><tr><td class="src">Rendered</td><td class="module"><a href="TensorFlow-Tensor.html#t:Rendered">TensorFlow.Tensor</a></td></tr><tr><td class="src">renderedNodeDefs</td><td class="module"><a href="TensorFlow-Build.html#v:renderedNodeDefs">TensorFlow.Build</a></td></tr><tr><td class="src">renderedOutput</td><td class="module"><a href="TensorFlow-Tensor.html#v:renderedOutput">TensorFlow.Tensor</a></td></tr><tr><td class="src">renderValue</td><td class="module"><a href="TensorFlow-Tensor.html#v:renderValue">TensorFlow.Tensor</a></td></tr><tr><td class="src">ResourceHandle</td><td class="module"><a href="TensorFlow-Types.html#t:ResourceHandle">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:ResourceHandle">TensorFlow.Core</a></td></tr><tr><td class="src">run</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:run">TensorFlow.Internal.FFI</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="TensorFlow-Session.html#v:run">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:run">TensorFlow.Core</a></td></tr><tr><td class="src">runBuildT</td><td class="module"><a href="TensorFlow-Build.html#v:runBuildT">TensorFlow.Build</a></td></tr><tr><td class="src">runRef</td><td class="module"><a href="TensorFlow-Tensor.html#v:runRef">TensorFlow.Tensor</a></td></tr><tr><td class="src">runSession</td><td class="module"><a href="TensorFlow-Session.html#v:runSession">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runSession">TensorFlow.Core</a></td></tr><tr><td class="src">runSessionWithOptions</td><td class="module"><a href="TensorFlow-Session.html#v:runSessionWithOptions">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runSessionWithOptions">TensorFlow.Core</a></td></tr><tr><td class="src">runValue</td><td class="module"><a href="TensorFlow-Tensor.html#v:runValue">TensorFlow.Tensor</a></td></tr><tr><td class="src">runWithFeeds</td><td class="module"><a href="TensorFlow-Session.html#v:runWithFeeds">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runWithFeeds">TensorFlow.Core</a></td></tr><tr><td class="src">runWithFeeds_</td><td class="module"><a href="TensorFlow-Session.html#v:runWithFeeds_">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runWithFeeds_">TensorFlow.Core</a></td></tr><tr><td class="src">run_</td><td class="module"><a href="TensorFlow-Session.html#v:run_">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:run_">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - R</p><table><tr><td class="src">Ref</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Tensor.html#t:Ref">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#t:Ref">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Tensor.html#v:Ref">TensorFlow.Tensor</a></td></tr><tr><td class="src">render</td><td class="module"><a href="TensorFlow-Tensor.html#v:render">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:render">TensorFlow.Core</a></td></tr><tr><td class="src">Rendered</td><td class="module"><a href="TensorFlow-Tensor.html#t:Rendered">TensorFlow.Tensor</a></td></tr><tr><td class="src">renderedNodeDefs</td><td class="module"><a href="TensorFlow-Build.html#v:renderedNodeDefs">TensorFlow.Build</a></td></tr><tr><td class="src">renderedOutput</td><td class="module"><a href="TensorFlow-Tensor.html#v:renderedOutput">TensorFlow.Tensor</a></td></tr><tr><td class="src">renderValue</td><td class="module"><a href="TensorFlow-Tensor.html#v:renderValue">TensorFlow.Tensor</a></td></tr><tr><td class="src">ResourceHandle</td><td class="module"><a href="TensorFlow-Types.html#t:ResourceHandle">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:ResourceHandle">TensorFlow.Core</a></td></tr><tr><td class="src">run</td><td> </td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:run">TensorFlow.Internal.FFI</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="TensorFlow-Session.html#v:run">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:run">TensorFlow.Core</a></td></tr><tr><td class="src">runBuildT</td><td class="module"><a href="TensorFlow-Build.html#v:runBuildT">TensorFlow.Build</a></td></tr><tr><td class="src">runRef</td><td class="module"><a href="TensorFlow-Tensor.html#v:runRef">TensorFlow.Tensor</a></td></tr><tr><td class="src">runSession</td><td class="module"><a href="TensorFlow-Session.html#v:runSession">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runSession">TensorFlow.Core</a></td></tr><tr><td class="src">runSessionWithOptions</td><td class="module"><a href="TensorFlow-Session.html#v:runSessionWithOptions">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runSessionWithOptions">TensorFlow.Core</a></td></tr><tr><td class="src">runValue</td><td class="module"><a href="TensorFlow-Tensor.html#v:runValue">TensorFlow.Tensor</a></td></tr><tr><td class="src">runWithFeeds</td><td class="module"><a href="TensorFlow-Session.html#v:runWithFeeds">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runWithFeeds">TensorFlow.Core</a></td></tr><tr><td class="src">runWithFeeds_</td><td class="module"><a href="TensorFlow-Session.html#v:runWithFeeds_">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:runWithFeeds_">TensorFlow.Core</a></td></tr><tr><td class="src">run_</td><td class="module"><a href="TensorFlow-Session.html#v:run_">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:run_">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - S)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - S)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - S</p><table><tr><td class="src">Scalar</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Types.html#t:Scalar">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:Scalar">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Types.html#v:Scalar">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:Scalar">TensorFlow.Core</a></td></tr><tr><td class="src">Session</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Internal-FFI.html#t:Session">TensorFlow.Internal.FFI</a></td></tr><tr><td class="alt">2 (Type/Class)</td><td class="module"><a href="TensorFlow-Session.html#t:Session">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#t:Session">TensorFlow.Core</a></td></tr><tr><td class="src">sessionConfig</td><td class="module"><a href="TensorFlow-Session.html#v:sessionConfig">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:sessionConfig">TensorFlow.Core</a></td></tr><tr><td class="src">SessionT</td><td class="module"><a href="TensorFlow-Session.html#t:SessionT">TensorFlow.Session</a></td></tr><tr><td class="src">sessionTarget</td><td class="module"><a href="TensorFlow-Session.html#v:sessionTarget">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:sessionTarget">TensorFlow.Core</a></td></tr><tr><td class="src">sessionTracer</td><td class="module"><a href="TensorFlow-Session.html#v:sessionTracer">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:sessionTracer">TensorFlow.Core</a></td></tr><tr><td class="src">setSessionConfig</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:setSessionConfig">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">setSessionTarget</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:setSessionTarget">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">Shape</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Types.html#t:Shape">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:Shape">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Types.html#v:Shape">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:Shape">TensorFlow.Core</a></td></tr><tr><td class="src">summaries</td><td class="module"><a href="TensorFlow-Build.html#v:summaries">TensorFlow.Build</a></td></tr><tr><td class="src">SummaryTensor</td><td class="module"><a href="TensorFlow-Tensor.html#t:SummaryTensor">TensorFlow.Tensor</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - S</p><table><tr><td class="src">Scalar</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Types.html#t:Scalar">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:Scalar">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Types.html#v:Scalar">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:Scalar">TensorFlow.Core</a></td></tr><tr><td class="src">Session</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Internal-FFI.html#t:Session">TensorFlow.Internal.FFI</a></td></tr><tr><td class="alt">2 (Type/Class)</td><td class="module"><a href="TensorFlow-Session.html#t:Session">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#t:Session">TensorFlow.Core</a></td></tr><tr><td class="src">sessionConfig</td><td class="module"><a href="TensorFlow-Session.html#v:sessionConfig">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:sessionConfig">TensorFlow.Core</a></td></tr><tr><td class="src">SessionT</td><td class="module"><a href="TensorFlow-Session.html#t:SessionT">TensorFlow.Session</a></td></tr><tr><td class="src">sessionTarget</td><td class="module"><a href="TensorFlow-Session.html#v:sessionTarget">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:sessionTarget">TensorFlow.Core</a></td></tr><tr><td class="src">sessionTracer</td><td class="module"><a href="TensorFlow-Session.html#v:sessionTracer">TensorFlow.Session</a>, <a href="TensorFlow-Core.html#v:sessionTracer">TensorFlow.Core</a></td></tr><tr><td class="src">setSessionConfig</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:setSessionConfig">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">setSessionTarget</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:setSessionTarget">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">Shape</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Types.html#t:Shape">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#t:Shape">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Types.html#v:Shape">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:Shape">TensorFlow.Core</a></td></tr><tr><td class="src">summaries</td><td class="module"><a href="TensorFlow-Build.html#v:summaries">TensorFlow.Build</a></td></tr><tr><td class="src">SummaryTensor</td><td class="module"><a href="TensorFlow-Tensor.html#t:SummaryTensor">TensorFlow.Tensor</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - U)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - U)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - U</p><table><tr><td class="src">unControlNode</td><td class="module"><a href="TensorFlow-Output.html#v:unControlNode">TensorFlow.Output</a>, <a href="TensorFlow-Build.html#v:unControlNode">TensorFlow.Build</a></td></tr><tr><td class="src">Unique</td><td class="module"><a href="TensorFlow-Build.html#t:Unique">TensorFlow.Build</a></td></tr><tr><td class="src">unNodeName</td><td class="module"><a href="TensorFlow-Output.html#v:unNodeName">TensorFlow.Output</a></td></tr><tr><td class="src">unOpType</td><td class="module"><a href="TensorFlow-Output.html#v:unOpType">TensorFlow.Output</a></td></tr><tr><td class="src">unOutputIx</td><td class="module"><a href="TensorFlow-Output.html#v:unOutputIx">TensorFlow.Output</a></td></tr><tr><td class="src">unScalar</td><td class="module"><a href="TensorFlow-Types.html#v:unScalar">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:unScalar">TensorFlow.Core</a></td></tr><tr><td class="src">unTensorData</td><td class="module"><a href="TensorFlow-Types.html#v:unTensorData">TensorFlow.Types</a></td></tr><tr><td class="src">useProtoAsVoidPtrLen</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:useProtoAsVoidPtrLen">TensorFlow.Internal.FFI</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - U</p><table><tr><td class="src">unControlNode</td><td class="module"><a href="TensorFlow-Output.html#v:unControlNode">TensorFlow.Output</a>, <a href="TensorFlow-Build.html#v:unControlNode">TensorFlow.Build</a></td></tr><tr><td class="src">Unique</td><td class="module"><a href="TensorFlow-Build.html#t:Unique">TensorFlow.Build</a></td></tr><tr><td class="src">unNodeName</td><td class="module"><a href="TensorFlow-Output.html#v:unNodeName">TensorFlow.Output</a></td></tr><tr><td class="src">unOpType</td><td class="module"><a href="TensorFlow-Output.html#v:unOpType">TensorFlow.Output</a></td></tr><tr><td class="src">unOutputIx</td><td class="module"><a href="TensorFlow-Output.html#v:unOutputIx">TensorFlow.Output</a></td></tr><tr><td class="src">unScalar</td><td class="module"><a href="TensorFlow-Types.html#v:unScalar">TensorFlow.Types</a>, <a href="TensorFlow-Core.html#v:unScalar">TensorFlow.Core</a></td></tr><tr><td class="src">unTensorData</td><td class="module"><a href="TensorFlow-Types.html#v:unTensorData">TensorFlow.Types</a></td></tr><tr><td class="src">useProtoAsVoidPtrLen</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:useProtoAsVoidPtrLen">TensorFlow.Internal.FFI</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - V)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - V)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - V</p><table><tr><td class="src">Value</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Tensor.html#t:Value">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#t:Value">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Tensor.html#v:Value">TensorFlow.Tensor</a></td></tr><tr><td class="src">value</td><td class="module"><a href="TensorFlow-Tensor.html#v:value">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:value">TensorFlow.Core</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - V</p><table><tr><td class="src">Value</td><td> </td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="TensorFlow-Tensor.html#t:Value">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#t:Value">TensorFlow.Core</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="TensorFlow-Tensor.html#v:Value">TensorFlow.Tensor</a></td></tr><tr><td class="src">value</td><td class="module"><a href="TensorFlow-Tensor.html#v:value">TensorFlow.Tensor</a>, <a href="TensorFlow-Core.html#v:value">TensorFlow.Core</a></td></tr><tr><td class="src">Variant</td><td class="module"><a href="TensorFlow-Types.html#t:Variant">TensorFlow.Types</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index - W)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index - W)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - W</p><table><tr><td class="src">withControlDependencies</td><td class="module"><a href="TensorFlow-ControlFlow.html#v:withControlDependencies">TensorFlow.ControlFlow</a>, <a href="TensorFlow-Core.html#v:withControlDependencies">TensorFlow.Core</a></td></tr><tr><td class="src">withDevice</td><td class="module"><a href="TensorFlow-Build.html#v:withDevice">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:withDevice">TensorFlow.Core</a></td></tr><tr><td class="src">withNameScope</td><td class="module"><a href="TensorFlow-Build.html#v:withNameScope">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:withNameScope">TensorFlow.Core</a></td></tr><tr><td class="src">withNodeDependencies</td><td class="module"><a href="TensorFlow-Build.html#v:withNodeDependencies">TensorFlow.Build</a></td></tr><tr><td class="src">withSession</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:withSession">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">withStateLens</td><td class="module"><a href="TensorFlow-Build.html#v:withStateLens">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div><div id="index"><p class="caption">Index - W</p><table><tr><td class="src">withControlDependencies</td><td class="module"><a href="TensorFlow-ControlFlow.html#v:withControlDependencies">TensorFlow.ControlFlow</a>, <a href="TensorFlow-Core.html#v:withControlDependencies">TensorFlow.Core</a></td></tr><tr><td class="src">withDevice</td><td class="module"><a href="TensorFlow-Build.html#v:withDevice">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:withDevice">TensorFlow.Core</a></td></tr><tr><td class="src">withNameScope</td><td class="module"><a href="TensorFlow-Build.html#v:withNameScope">TensorFlow.Build</a>, <a href="TensorFlow-Core.html#v:withNameScope">TensorFlow.Core</a></td></tr><tr><td class="src">withNodeDependencies</td><td class="module"><a href="TensorFlow-Build.html#v:withNodeDependencies">TensorFlow.Build</a></td></tr><tr><td class="src">withSession</td><td class="module"><a href="TensorFlow-Internal-FFI.html#v:withSession">TensorFlow.Internal.FFI</a></td></tr><tr><td class="src">withStateLens</td><td class="module"><a href="TensorFlow-Build.html#v:withStateLens">TensorFlow.Build</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,4 +1,4 @@
|
|||
<!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-0.1.0.2: TensorFlow bindings. (Index)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
<!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-0.2.0.0: TensorFlow bindings. (Index)</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.1.0.2: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="alphabet"><ul><li><a href="doc-index-A.html">A</a></li><li><a href="doc-index-B.html">B</a></li><li><a href="doc-index-C.html">C</a></li><li><a href="doc-index-D.html">D</a></li><li><a href="doc-index-E.html">E</a></li><li><a href="doc-index-F.html">F</a></li><li><a href="doc-index-G.html">G</a></li><li><a href="doc-index-H.html">H</a></li><li><a href="doc-index-I.html">I</a></li><li><a href="doc-index-L.html">L</a></li><li><a href="doc-index-M.html">M</a></li><li><a href="doc-index-N.html">N</a></li><li><a href="doc-index-O.html">O</a></li><li><a href="doc-index-P.html">P</a></li><li><a href="doc-index-R.html">R</a></li><li><a href="doc-index-S.html">S</a></li><li><a href="doc-index-T.html">T</a></li><li><a href="doc-index-U.html">U</a></li><li><a href="doc-index-V.html">V</a></li><li><a href="doc-index-W.html">W</a></li><li><a href="doc-index-58.html">:</a></li><li><a href="doc-index-47.html">/</a></li><li><a href="doc-index-92.html">\</a></li><li><a href="doc-index-95.html">_</a></li><li><a href="doc-index-All.html">All</a></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
|
@ -1,7 +1,7 @@
|
|||
// Haddock JavaScript utilities
|
||||
|
||||
var rspace = /\s\s+/g,
|
||||
rtrim = /^\s+|\s+$/g;
|
||||
rtrim = /^\s+|\s+$/g;
|
||||
|
||||
function spaced(s) { return (" " + s + " ").replace(rspace, " "); }
|
||||
function trim(s) { return s.replace(rtrim, ""); }
|
||||
|
@ -52,17 +52,17 @@ function toggleSection(id)
|
|||
{
|
||||
var b = toggleShow(document.getElementById("section." + id));
|
||||
toggleCollapser(document.getElementById("control." + id), b);
|
||||
rememberCollapsed(id, b);
|
||||
rememberCollapsed(id);
|
||||
return b;
|
||||
}
|
||||
|
||||
var collapsed = {};
|
||||
function rememberCollapsed(id, b)
|
||||
function rememberCollapsed(id)
|
||||
{
|
||||
if(b)
|
||||
if(collapsed[id])
|
||||
delete collapsed[id]
|
||||
else
|
||||
collapsed[id] = null;
|
||||
collapsed[id] = true;
|
||||
|
||||
var sections = [];
|
||||
for(var i in collapsed)
|
||||
|
@ -109,136 +109,6 @@ function getCookie(name) {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var max_results = 75; // 50 is not enough to search for map in the base libraries
|
||||
var shown_range = null;
|
||||
var last_search = null;
|
||||
|
||||
function quick_search()
|
||||
{
|
||||
perform_search(false);
|
||||
}
|
||||
|
||||
function full_search()
|
||||
{
|
||||
perform_search(true);
|
||||
}
|
||||
|
||||
|
||||
function perform_search(full)
|
||||
{
|
||||
var text = document.getElementById("searchbox").value.toLowerCase();
|
||||
if (text == last_search && !full) return;
|
||||
last_search = text;
|
||||
|
||||
var table = document.getElementById("indexlist");
|
||||
var status = document.getElementById("searchmsg");
|
||||
var children = table.firstChild.childNodes;
|
||||
|
||||
// first figure out the first node with the prefix
|
||||
var first = bisect(-1);
|
||||
var last = (first == -1 ? -1 : bisect(1));
|
||||
|
||||
if (first == -1)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "No results found, displaying all";
|
||||
}
|
||||
else if (first == 0 && last == children.length - 1)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "";
|
||||
}
|
||||
else if (last - first >= max_results && !full)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "More than " + max_results + ", press Search to display";
|
||||
}
|
||||
else
|
||||
{
|
||||
// decide what you need to clear/show
|
||||
if (shown_range)
|
||||
setclass(shown_range[0], shown_range[1], "indexrow");
|
||||
setclass(first, last, "indexshow");
|
||||
shown_range = [first, last];
|
||||
table.className = "indexsearch";
|
||||
status.innerHTML = "";
|
||||
}
|
||||
|
||||
|
||||
function setclass(first, last, status)
|
||||
{
|
||||
for (var i = first; i <= last; i++)
|
||||
{
|
||||
children[i].className = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// do a binary search, treating 0 as ...
|
||||
// return either -1 (no 0's found) or location of most far match
|
||||
function bisect(dir)
|
||||
{
|
||||
var first = 0, finish = children.length - 1;
|
||||
var mid, success = false;
|
||||
|
||||
while (finish - first > 3)
|
||||
{
|
||||
mid = Math.floor((finish + first) / 2);
|
||||
|
||||
var i = checkitem(mid);
|
||||
if (i == 0) i = dir;
|
||||
if (i == -1)
|
||||
finish = mid;
|
||||
else
|
||||
first = mid;
|
||||
}
|
||||
var a = (dir == 1 ? first : finish);
|
||||
var b = (dir == 1 ? finish : first);
|
||||
for (var i = b; i != a - dir; i -= dir)
|
||||
{
|
||||
if (checkitem(i) == 0) return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
// from an index, decide what the result is
|
||||
// 0 = match, -1 is lower, 1 is higher
|
||||
function checkitem(i)
|
||||
{
|
||||
var s = getitem(i).toLowerCase().substr(0, text.length);
|
||||
if (s == text) return 0;
|
||||
else return (s > text ? -1 : 1);
|
||||
}
|
||||
|
||||
|
||||
// from an index, get its string
|
||||
// this abstracts over alternates
|
||||
function getitem(i)
|
||||
{
|
||||
for ( ; i >= 0; i--)
|
||||
{
|
||||
var s = children[i].firstChild.firstChild.data;
|
||||
if (s.indexOf(' ') == -1)
|
||||
return s;
|
||||
}
|
||||
return ""; // should never be reached
|
||||
}
|
||||
}
|
||||
|
||||
function setSynopsis(filename) {
|
||||
if (parent.window.synopsis && parent.window.synopsis.location) {
|
||||
if (parent.window.synopsis.location.replace) {
|
||||
// In Firefox this avoids adding the change to the history.
|
||||
parent.window.synopsis.location.replace(filename);
|
||||
} else {
|
||||
parent.window.synopsis.location = filename;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function addMenuItem(html) {
|
||||
var menu = document.getElementById("page-menu");
|
||||
if (menu) {
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
9
docs/haddock/tensorflow-0.2.0.0/index.html
Normal file
9
docs/haddock/tensorflow-0.2.0.0/index.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!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-0.2.0.0: TensorFlow bindings.</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||||
window.onload = function () {pageLoad();};
|
||||
//]]>
|
||||
</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-0.2.0.0: TensorFlow bindings.</p></div><div id="content"><div id="description"><h1>tensorflow-0.2.0.0: TensorFlow bindings.</h1><div class="doc"><p>This library provides an interface to the TensorFlow
|
||||
bindings. <a href="TensorFlow-Core.html">TensorFlow.Core</a> contains the base API for
|
||||
building and running computational graphs. Other packages
|
||||
such as <code>tensorflow-ops</code> contain bindings to the actual
|
||||
computational kernels.</p><p>For more documentation and examples, see
|
||||
<a href="https://github.com/tensorflow/haskell#readme">https://github.com/tensorflow/haskell#readme</a></p></div></div><div id="module-list"><p class="caption">Signatures</p></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">TensorFlow</span><ul id="section.n.1" class="show"><li><span class="module"><a href="TensorFlow-Build.html">TensorFlow.Build</a></span></li><li><span class="module"><a href="TensorFlow-BuildOp.html">TensorFlow.BuildOp</a></span></li><li><span class="module"><a href="TensorFlow-ControlFlow.html">TensorFlow.ControlFlow</a></span></li><li><span class="module"><a href="TensorFlow-Core.html">TensorFlow.Core</a></span></li><li><span id="control.n.1.5" class="module collapser" onclick="toggleSection('n.1.5')">Internal</span><ul id="section.n.1.5" class="show"><li><span class="module"><a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></span></li><li><span class="module"><a href="TensorFlow-Internal-VarInt.html">TensorFlow.Internal.VarInt</a></span> Encoders and decoders for varint types.</li></ul></li><li><span class="module"><a href="TensorFlow-Nodes.html">TensorFlow.Nodes</a></span></li><li><span class="module"><a href="TensorFlow-Output.html">TensorFlow.Output</a></span></li><li><span class="module"><a href="TensorFlow-Session.html">TensorFlow.Session</a></span></li><li><span class="module"><a href="TensorFlow-Tensor.html">TensorFlow.Tensor</a></span></li><li><span class="module"><a href="TensorFlow-Types.html">TensorFlow.Types</a></span></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.18.1</p></div></body></html>
|
Before Width: | Height: | Size: 56 B After Width: | Height: | Size: 56 B |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue