an><span class="st">'num_layers'</span>, <span class="fl">2L</span>, <span class="fl">20L</span><span class="op">)</span></span>
<span></span>
<span></span>
<span><span class="va">mnist_model</span> <span class="op">=</span> <span class="kw">function</span><span class="op">(</span><span class="va">hp</span><span class="op">)</span> <span class="op">{</span></span>
<span>  </span>
<span>  <span class="va">model</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/pkg/keras/man/keras_mod