</ul></li><li><div class="module "><a href="../../../dopt/cpu.html">cpu</a></div></li><li><div class="module "><a href="../../../dopt/cuda.html">cuda</a></div></li></ul></li></ul></div><p id="main-nav-footer">Built with
<a href="https://github.com/MartinNowak/scod">scod</a></p></nav><div id="main-contents"><div><h1>Function sgd</h1><p>Creates a delegate that can be used to perform a step using the stochastic gradient descent update rule.
</p><div class="prototype"><code class="lang-d"><div class="single-pro