<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>TensorFlow.Logging</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scriptsrc="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/TensorFlow.Logging.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">tensorflow-logging-0.1.0.0: TensorBoard related functionality.</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">TensorFlow.Logging</p></div><divid="description"><pclass="caption">Description</p><divclass="doc"><p>TensorBoard Summary generation. Provides type safe wrappers around raw
else TF.run_ trainStep</pre></div></div><divid="synopsis"><pid="control.syn"class="caption expander"onclick="toggleSection('syn')">Synopsis</p><ulid="section.syn"class="hide"onclick="toggleSection('syn')"><liclass="src short"><spanclass="keyword">data</span><ahref="#t:EventWriter">EventWriter</a></li><liclass="src short"><ahref="#v:withEventWriter">withEventWriter</a> :: (<ahref="../base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m, MonadMask m) =><ahref="../base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -> (<ahref="TensorFlow-Logging.html#t:EventWriter">EventWriter</a> -> m a) -> m a</li><liclass="src short"><ahref="#v:logEvent">logEvent</a> :: <ahref="../base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m =><ahref="TensorFlow-Logging.html#t:EventWriter">EventWriter</a> -><ahref="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Util-Event.html#t:Event">Event</a> -> m ()</li><liclass="src short"><ahref="#v:logGraph">logGraph</a> :: <ahref="../base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m =><ahref="TensorFlow-Logging.html#t:EventWriter">EventWriter</a> -><ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:Build">Build</a> a -> m ()</li><liclass="src short"><ahref="#v:logSummary">logSummary</a> :: <ahref="../base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m =><ahref="TensorFlow-Logging.html#t:EventWriter">EventWriter</a> -><ahref="../base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -><ahref="../tensorflow-proto-0.1.0.0/Proto-Tensorflow-Core-Framework-Summary.html#t:Summary">Summary</a> -> m ()</li><liclass="src short"><spanclass="keyword">type</span><ahref="#t:SummaryTensor">SummaryTensor</a> = <ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Tensor">Tensor</a><ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Value">Value</a><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><liclass="src short"><ahref="#v:histogramSummary">histogramSummary</a> :: (<ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:TensorType">TensorType</a> t, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a>) =><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -><ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v t -> m ()</li><liclass="src short"><ahref="#v:scalarSummary">scalarSummary</a> :: (<ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:TensorType">TensorType</a> t, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a>, <ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m) =><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -><ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v t -> m ()</li><liclass="src short"><ahref="#v:mergeAllSummaries">mergeAllSummaries</a> :: <ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <ahref="TensorFlow-Logging.html#t:SummaryTensor">SummaryTensor</a></li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><spanclass="keyword">data</span><aid="t:EventWriter"class="def">EventWriter</a><ahref="src/TensorFlow.Logging.html#EventWriter"class="link">Source</a><ahref="#t:EventWriter"class="selflink">#</a></p><divclass="doc"><p>Handle for logging TensorBoard events safely from multiple threads.</p></
applicable).</p></div></div><divclass="top"><pclass="src"><spanclass="keyword">type</span><aid="t:SummaryTensor"class="def">SummaryTensor</a> = <ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Tensor">Tensor</a><ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Value">Value</a><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a><ahref="#t:SummaryTensor"class="selflink">#</a></p><divclass="doc"><p>Synonym for the tensors that return serialized Summary proto.</p></div></div><divclass="top"><pclass="src"><aid="v:histogramSummary"class="def">histogramSummary</a> :: (<ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m, <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:TensorType">TensorType</a> t, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a>) =><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -><ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v t -> m () <ahref="src/TensorFlow.Logging.html#histogramSummary"class="link">Source</a><ahref="#v:histogramSummary"class="selflink">#</a></p><divclass="doc"><p>Adds a <code><ahref="../tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:histogramSummary">histogramSummary</a></code> node. The tag argument is intentionally
limited to a single value for simplicity.</p></div></div><divclass="top"><pclass="src"><aid="v:scalarSummary"class="def">scalarSummary</a> :: (<ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:TensorType">TensorType</a> t, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, t <ahref="../tensorflow-0.1.0.2/TensorFlow-Types.html#t:-47--61-">/=</a><ahref="../base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a>, <ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m) =><ahref="../bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -><ahref="../tensorflow-0.1.0.2/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v t -> m () <ahref="src/TensorFlow.Logging.html#scalarSummary"class="link">Source</a><ahref="#v:scalarSummary"class="selflink">#</a></p><divclass="doc"><p>Adds a <code><ahref="../tensorflow-core-ops-0.1.0.0/TensorFlow-GenOps-Core.html#v:scalarSummary">scalarSummary</a></code> node.</p></div></div><divclass="top"><pclass="src"><aid="v:mergeAllSummaries"class="def">mergeAllSummaries</a> :: <ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:MonadBuild">MonadBuild</a> m => m <ahref="TensorFlow-Logging.html#t:SummaryTensor">SummaryTensor</a><ahref="src/TensorFlow.Logging.html#mergeAllSummaries"class="link">Source</a><ahref="#v:mergeAllSummaries"class="selflink">#</a></p><divclass="doc"><p>Merge all summaries accumulated in the <code><ahref="../tensorflow-0.1.0.2/TensorFlow-Build.html#t:Build">Build</a></code> into one summary.</p></div></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>