p">(</span><span class="o">*</span><span class="n">i_arg</span><span class="p">)</span>
                <span class="k">if</span> <span class="n">derivatives_shape</span><span class="p">:</span>
                    <span class="k">if</span> <span class="n">is_sparse</span><span class="p">:</span>
                        <span class="n">sample_index</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">full</span><span class="p">((</span><span class="mi">1</span><sp