span class="va">hp</span><span class="op">$</span><span class="fu">get</span><span class="op">(</span><span class="st">'learning_rate'</span><span class="op">)</span><span class="op">)</span>,</span>
<span>      loss <span class="op">=</span> <span class="st">'sparse_categorical_crossentropy'</span>,</span>
<span>      metrics <span class="op">=</span> <span class="st">'accuracy'</span><span class="op">)</span> </span>
<span>  <span class="kw"><a href="https://rdrr.io/r/base/function.html" class="external-l