s="p">(</span><span class="n">arguments</span><span class="p">)</span>
            <span class="k">if</span> <span class="n">derivatives_shape</span><span class="p">:</span>
                <span class="n">shape_der</span> <span class="o">=</span> <span class="p">[</span><span class="n">n_samples</span><span class="p">]</span>
                <span class="n">shape_der</span><span class="o">.</span><span class="n">extend</span><span class="p">(</span><span class="n">derivatives_shape</span><span class="p">)<