span class="n">kw_args</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;Init method</span>

<span class="sd">        :param model: trained PyTorch Model.</span>
<span class="sd">        :param model_path: path to trained model.</span>
<span class="sd">        :param backend: &quot;PYT&quot; for PyTorch framework.</span>
<span class="sd">        :param func: function transformation required for ML model. If f