t</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">mean</span><span class="p">([</span><span class="n">input_dim</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="k">for</span> <span class="n">input_dim</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">input_dims</span><span class="p">]))</span>     <span class="c1"># dot_multiply operation requ