mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-27 03:59:46 +01:00
6b19e54722
* Update README to refer to 2.3.0-gpu. * Remove old package documentation from haddock directory.
5 lines
No EOL
22 KiB
HTML
5 lines
No EOL
22 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>TensorFlow.Internal.FFI</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">tensorflow-0.3.0.0: TensorFlow bindings.</span><ul class="links" id="page-menu"><li><a href="src/TensorFlow.Internal.FFI.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></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.Internal.FFI</p></div><div id="table-of-contents"><div id="contents-list"><p class="caption" onclick="window.scrollTo(0,0)">Contents</p><ul><li><a href="#g:1">Internal helper.</a></li></ul></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><span class="keyword">data</span> <a href="#t:TensorFlowException">TensorFlowException</a> = <a href="#v:TensorFlowException">TensorFlowException</a> Code <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Session">Session</a></li><li class="src short"><a href="#v:withSession">withSession</a> :: (<a href="../base-4.13.0.0/Control-Monad-IO-Class.html#t:MonadIO" title="Control.Monad.IO.Class">MonadIO</a> m, MonadMask m) => (SessionOptions -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ()) -> ((<a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> () -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ()) -> <a href="TensorFlow-Internal-FFI.html#t:Session" title="TensorFlow.Internal.FFI">Session</a> -> m a) -> m a</li><li class="src short"><a href="#v:extendGraph">extendGraph</a> :: <a href="TensorFlow-Internal-FFI.html#t:Session" title="TensorFlow.Internal.FFI">Session</a> -> <a href="../tensorflow-proto-0.3.0.0/Proto-Tensorflow-Core-Framework-Graph.html#t:GraphDef" title="Proto.Tensorflow.Core.Framework.Graph">GraphDef</a> -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:run">run</a> :: <a href="TensorFlow-Internal-FFI.html#t:Session" title="TensorFlow.Internal.FFI">Session</a> -> [(<a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a>, <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a>)] -> [<a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a>] -> [<a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a>] -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> [<a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:TensorData">TensorData</a> = <a href="#v:TensorData">TensorData</a> {<ul class="subs"><li><a href="#v:tensorDataDimensions">tensorDataDimensions</a> :: [<a href="../base-4.13.0.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a>]</li><li><a href="#v:tensorDataType">tensorDataType</a> :: !<a href="TensorFlow-Types.html#t:DataType" title="TensorFlow.Types">DataType</a></li><li><a href="#v:tensorDataBytes">tensorDataBytes</a> :: !(Vector <a href="../base-4.13.0.0/Data-Word.html#t:Word8" title="Data.Word">Word8</a>)</li></ul>}</li><li class="src short"><a href="#v:setSessionConfig">setSessionConfig</a> :: <a href="../tensorflow-proto-0.3.0.0/Proto-Tensorflow-Core-Protobuf-Config.html#t:ConfigProto" title="Proto.Tensorflow.Core.Protobuf.Config">ConfigProto</a> -> SessionOptions -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:setSessionTarget">setSessionTarget</a> :: <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> -> SessionOptions -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:getAllOpList">getAllOpList</a> :: <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a></li><li class="src short"><a href="#v:useProtoAsVoidPtrLen">useProtoAsVoidPtrLen</a> :: (Message msg, <a href="../base-4.13.0.0/Prelude.html#t:Integral" title="Prelude">Integral</a> c, <a href="../base-4.13.0.0/Text-Show.html#t:Show" title="Text.Show">Show</a> c, <a href="../base-4.13.0.0/Data-Bits.html#t:Bits" title="Data.Bits">Bits</a> c) => msg -> (<a href="../base-4.13.0.0/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> b -> c -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> a) -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> a</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:TensorFlowException" class="def">TensorFlowException</a> <a href="src/TensorFlow.Internal.FFI.html#TensorFlowException" class="link">Source</a> <a href="#t:TensorFlowException" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:TensorFlowException" class="def">TensorFlowException</a> Code <a href="../text-1.2.4.0/Data-Text.html#t:Text" title="Data.Text">Text</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:TensorFlowException">Instances</h4><details id="i:TensorFlowException" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:TensorFlowException:Eq:1"></span> <a href="../base-4.13.0.0/Data-Eq.html#t:Eq" title="Data.Eq">Eq</a> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a></span> <a href="src/TensorFlow.Internal.FFI.html#line-65" class="link">Source</a> <a href="#t:TensorFlowException" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:TensorFlowException:Eq:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="../base-4.13.0.0/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="../base-4.13.0.0/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:TensorFlowException:Show:2"></span> <a href="../base-4.13.0.0/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a></span> <a href="src/TensorFlow.Internal.FFI.html#line-65" class="link">Source</a> <a href="#t:TensorFlowException" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:TensorFlowException:Show:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base-4.13.0.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="../base-4.13.0.0/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a>] -> <a href="../base-4.13.0.0/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:TensorFlowException:Exception:3"></span> <a href="../base-4.13.0.0/Control-Exception-Base.html#t:Exception" title="Control.Exception.Base">Exception</a> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a></span> <a href="src/TensorFlow.Internal.FFI.html#line-67" class="link">Source</a> <a href="#t:TensorFlowException" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:TensorFlowException:Exception:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toException">toException</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="../base-4.13.0.0/Control-Exception-Base.html#t:SomeException" title="Control.Exception.Base">SomeException</a> <a href="#v:toException" class="selflink">#</a></p><p class="src"><a href="#v:fromException">fromException</a> :: <a href="../base-4.13.0.0/Control-Exception-Base.html#t:SomeException" title="Control.Exception.Base">SomeException</a> -> <a href="../base-4.13.0.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> <a href="#v:fromException" class="selflink">#</a></p><p class="src"><a href="#v:displayException">displayException</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorFlowException" title="TensorFlow.Internal.FFI">TensorFlowException</a> -> <a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:displayException" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Session" class="def">Session</a> <a href="src/TensorFlow.Internal.Raw.html#Session" class="link">Source</a> <a href="#t:Session" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withSession" class="def">withSession</a> <a href="src/TensorFlow.Internal.FFI.html#withSession" class="link">Source</a> <a href="#v:withSession" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="../base-4.13.0.0/Control-Monad-IO-Class.html#t:MonadIO" title="Control.Monad.IO.Class">MonadIO</a> m, MonadMask m)</td><td class="doc empty"> </td></tr><tr><td class="src">=> (SessionOptions -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ())</td><td class="doc empty"> </td></tr><tr><td class="src">-> ((<a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> () -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> ()) -> <a href="TensorFlow-Internal-FFI.html#t:Session" title="TensorFlow.Internal.FFI">Session</a> -> m a)</td><td class="doc"><p>The action can spawn concurrent tasks which will
|
|
be canceled before withSession returns.</p></td></tr><tr><td class="src">-> m a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Runs the given action after creating a session with options
|
|
populated by the given optionSetter.</p></div></div><div class="top"><p class="src"><a id="v:extendGraph" class="def">extendGraph</a> :: <a href="TensorFlow-Internal-FFI.html#t:Session" title="TensorFlow.Internal.FFI">Session</a> -> <a href="../tensorflow-proto-0.3.0.0/Proto-Tensorflow-Core-Framework-Graph.html#t:GraphDef" title="Proto.Tensorflow.Core.Framework.Graph">GraphDef</a> -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/TensorFlow.Internal.FFI.html#extendGraph" class="link">Source</a> <a href="#v:extendGraph" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:run" class="def">run</a> <a href="src/TensorFlow.Internal.FFI.html#run" class="link">Source</a> <a href="#v:run" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="TensorFlow-Internal-FFI.html#t:Session" title="TensorFlow.Internal.FFI">Session</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> [(<a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a>, <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a>)]</td><td class="doc"><p>Feeds.</p></td></tr><tr><td class="src">-> [<a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a>]</td><td class="doc"><p>Fetches.</p></td></tr><tr><td class="src">-> [<a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a>]</td><td class="doc"><p>Targets.</p></td></tr><tr><td class="src">-> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> [<a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a>]</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:TensorData" class="def">TensorData</a> <a href="src/TensorFlow.Internal.FFI.html#TensorData" class="link">Source</a> <a href="#t:TensorData" class="selflink">#</a></p><div class="doc"><p>All of the data needed to represent a tensor.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:TensorData" class="def">TensorData</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:tensorDataDimensions" class="def">tensorDataDimensions</a> :: [<a href="../base-4.13.0.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a>]</dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:tensorDataType" class="def">tensorDataType</a> :: !<a href="TensorFlow-Types.html#t:DataType" title="TensorFlow.Types">DataType</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:tensorDataBytes" class="def">tensorDataBytes</a> :: !(Vector <a href="../base-4.13.0.0/Data-Word.html#t:Word8" title="Data.Word">Word8</a>)</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:TensorData">Instances</h4><details id="i:TensorData" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:TensorData:Eq:1"></span> <a href="../base-4.13.0.0/Data-Eq.html#t:Eq" title="Data.Eq">Eq</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a></span> <a href="src/TensorFlow.Internal.FFI.html#line-75" class="link">Source</a> <a href="#t:TensorData" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:TensorData:Eq:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> <a href="../base-4.13.0.0/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> <a href="../base-4.13.0.0/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:TensorData:Show:2"></span> <a href="../base-4.13.0.0/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a></span> <a href="src/TensorFlow.Internal.FFI.html#line-75" class="link">Source</a> <a href="#t:TensorData" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:TensorData:Show:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="TensorFlow-Internal-FFI.html">TensorFlow.Internal.FFI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base-4.13.0.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> <a href="../base-4.13.0.0/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a> -> <a href="../base-4.13.0.0/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="TensorFlow-Internal-FFI.html#t:TensorData" title="TensorFlow.Internal.FFI">TensorData</a>] -> <a href="../base-4.13.0.0/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:setSessionConfig" class="def">setSessionConfig</a> :: <a href="../tensorflow-proto-0.3.0.0/Proto-Tensorflow-Core-Protobuf-Config.html#t:ConfigProto" title="Proto.Tensorflow.Core.Protobuf.Config">ConfigProto</a> -> SessionOptions -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/TensorFlow.Internal.FFI.html#setSessionConfig" class="link">Source</a> <a href="#v:setSessionConfig" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:setSessionTarget" class="def">setSessionTarget</a> :: <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> -> SessionOptions -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/TensorFlow.Internal.FFI.html#setSessionTarget" class="link">Source</a> <a href="#v:setSessionTarget" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getAllOpList" class="def">getAllOpList</a> :: <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../bytestring-0.10.10.1/Data-ByteString.html#t:ByteString" title="Data.ByteString">ByteString</a> <a href="src/TensorFlow.Internal.FFI.html#getAllOpList" class="link">Source</a> <a href="#v:getAllOpList" class="selflink">#</a></p><div class="doc"><p>Returns the serialized OpList of all OpDefs defined in this
|
|
address space.</p></div></div><a href="#g:1" id="g:1"><h1>Internal helper.</h1></a><div class="top"><p class="src"><a id="v:useProtoAsVoidPtrLen" class="def">useProtoAsVoidPtrLen</a> :: (Message msg, <a href="../base-4.13.0.0/Prelude.html#t:Integral" title="Prelude">Integral</a> c, <a href="../base-4.13.0.0/Text-Show.html#t:Show" title="Text.Show">Show</a> c, <a href="../base-4.13.0.0/Data-Bits.html#t:Bits" title="Data.Bits">Bits</a> c) => msg -> (<a href="../base-4.13.0.0/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> b -> c -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> a) -> <a href="../base-4.13.0.0/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/TensorFlow.Internal.FFI.html#useProtoAsVoidPtrLen" class="link">Source</a> <a href="#v:useProtoAsVoidPtrLen" class="selflink">#</a></p><div class="doc"><p>Serializes the given msg and provides it as (ptr,len) argument
|
|
to the given action.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.23.0</p></div></body></html> |