lass="o">.</span><span class="n">to</span><span class="p">(</span><span class="s2">"cuda"</span><span class="p">)</span>
<span class="n">detections_batch</span> <span class="o">=</span> <span class="n">model</span><span class="p">(</span><span class="n">tensor</span><span class="p">)</span>

<span class="c1"># By default, raw output from SSD network per input image contains 8732 boxes with</span>
<span class="c1"># localization and class probability distribution.</span>
<span class="c1"># Let’s filter thi