class="pun">;
</span><span class="kwd">auto </span><span class="pln">y </span><span class="pun">= </span><span class="pln">float32</span><span class="pun">([]);

</span><span class="com">//Create an SGD updater
</span><span class="kwd">auto </span><span class="pln">updater </span><span class="pun">= </span><span class="pln">sgd</span><span class="pun">([(</span><span class="pln">yhat </span><span class="pun">- </span><span class="pln">y</span><span class="pun">) * (</span><span class="pln">yhat </span><span