<pre class="sourceCode r"><code><span><span class="fu">ResNet</span><span class="op">(</span></span>
<span>  <span class="va">block</span>,</span>
<span>  <span class="va">layers</span>,</span>
<span>  num_classes <span class="op">=</span> <span class="fl">1000</span>,</span>
<span>  zero_init_residual <span class="op">=</span> <span class="cn">FALSE</span>,</span>
<span>  groups <span class="op">=</span> <span class="fl">1</span>,</span>
<span>  width_per_group <span class="op">=</span> <span class="fl">64