">function</span><span class="op">(</span><span class="va">layer_1</span>, <span class="va">layer_2</span>, <span class="va">layer_3</span>, <span class="va">lr</span>, <span class="va">wd</span>, <span class="va">emb_p</span><span class="op">)</span> <span class="op">{</span></span>
<span>  <span class="va">model</span> <span class="op">&lt;-</span> <span class="va">dls</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%&gt;%</a></span> <span class="