mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-27 03:59:46 +01:00
4 lines
3.4 KiB
HTML
4 lines
3.4 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>TensorFlow.Gradient</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
||
|
window.onload = function () {pageLoad();setSynopsis("mini_TensorFlow-Gradient.html");};
|
||
|
//]]>
|
||
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/TensorFlow-Gradient.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-ops-0.1.0.0: Friendly layer around 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.Gradient</p></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:gradients">gradients</a> :: <span class="keyword">forall</span> a v1 v2. (<a href="../base-4.8.2.0/Prelude.html#t:Num">Num</a> (<a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v1 a), v1 ~ <a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Value">Value</a>, GradientCompatible a) => <a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v1 a -> [<a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v2 a] -> <a href="../tensorflow-0.1.0.0/TensorFlow-Build.html#t:Build">Build</a> [<a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Value">Value</a> a]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:gradients" class="def">gradients</a> <a href="src/TensorFlow-Gradient.html#gradients" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="../base-4.8.2.0/Prelude.html#t:Num">Num</a> (<a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v1 a), v1 ~ <a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Value">Value</a>, GradientCompatible a)</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v1 a</td><td class="doc"><p>The output of the graph.</p></td></tr><tr><td class="src">-> [<a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> v2 a]</td><td class="doc"><p>Tensors for which gradients are computed.</p></td></tr><tr><td class="src">-> <a href="../tensorflow-0.1.0.0/TensorFlow-Build.html#t:Build">Build</a> [<a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Tensor">Tensor</a> <a href="../tensorflow-0.1.0.0/TensorFlow-Tensor.html#t:Value">Value</a> a]</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Gradient of <code>y</code> w.r.t. each element of <code>xs</code>.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|