long[]&nbsp;weights,
                    long[]&nbsp;blobs)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/opencv/dnn/Net.html#getMemoryConsumption(int,%20org.opencv.core.MatOfInt,%20long[],%20long[])">getMemoryConsumption</a></strong>(int&nbsp;layerId,
                    <a href="../../../org/opencv/core/MatOfInt.html" title="class in org.opencv.core">MatOfInt</a>&nbsp;netInputShape,
                    long