tion.
 Tensor contraction is otherwise known as the inner product between two tensors.</p>
    

    <pre class="usage"><span class='fu'>sgnht</span>(<span class='no'>logLik</span>, <span class='no'>dataset</span>, <span class='no'>params</span>, <span class='no'>stepsize</span>, <span class='kw'>logPrior</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  <span class='kw'>minibatchSize</span> <span class='kw'>=</span> <span class='fl'>0.01</span>, <span class='kw'>a</span> <span class='kw'>=</