Mutliplication error

username: Abdulrahman
cooked: <p>when i work on tutorial object detection and implementing this multiplication, i found it gives this error<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/2X/0/0b74a763cce2607c0e94c2905a69047b8e46f596.png" data-download-href="https://discuss.pytorch.org/uploads/default/0b74a763cce2607c0e94c2905a69047b8e46f596" title="Screenshot_2019-07-25%20pytorch%20Object%20detection%20Kaggle"><img src="https://discuss.pytorch.org/uploads/default/optimized/2X/0/0b74a763cce2607c0e94c2905a69047b8e46f596_2_689x128.png" alt="Screenshot_2019-07-25%20pytorch%20Object%20detection%20Kaggle" data-base62-sha1="1DlbhllUyWTSTUlYe6vHUKeSSfI" width="689" height="128" srcset="https://discuss.pytorch.org/uploads/default/optimized/2X/0/0b74a763cce2607c0e94c2905a69047b8e46f596_2_689x128.png, https://discuss.pytorch.org/uploads/default/optimized/2X/0/0b74a763cce2607c0e94c2905a69047b8e46f596_2_1033x192.png 1.5x, https://discuss.pytorch.org/uploads/default/original/2X/0/0b74a763cce2607c0e94c2905a69047b8e46f596.png 2x" data-dominant-color="A3A4A6"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot_2019-07-25%20pytorch%20Object%20detection%20Kaggle</span><span class="informations">1299×241 15.1 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

username: Nikronic
cooked: <p>Hi,</p>
<p>What error? There is no error in the screenshot.</p>

username: Abdulrahman
cooked: <p>it gives a negative number,  although it is an area and can’t be negative<br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/2X/3/3933d64e5ccb3332f13e11d9c25259925f876c6c.png" data-download-href="https://discuss.pytorch.org/uploads/default/3933d64e5ccb3332f13e11d9c25259925f876c6c" title="Screenshot_2019-07-25%20pytorch%20Object%20detection%20Kaggle(1)"><img src="https://discuss.pytorch.org/uploads/default/optimized/2X/3/3933d64e5ccb3332f13e11d9c25259925f876c6c_2_689x268.png" alt="Screenshot_2019-07-25%20pytorch%20Object%20detection%20Kaggle(1)" data-base62-sha1="8a2h8kDwsMFKDbiiFcGrC6w5oF6" width="689" height="268" srcset="https://discuss.pytorch.org/uploads/default/optimized/2X/3/3933d64e5ccb3332f13e11d9c25259925f876c6c_2_689x268.png, https://discuss.pytorch.org/uploads/default/optimized/2X/3/3933d64e5ccb3332f13e11d9c25259925f876c6c_2_1033x402.png 1.5x, https://discuss.pytorch.org/uploads/default/original/2X/3/3933d64e5ccb3332f13e11d9c25259925f876c6c.png 2x" data-dominant-color="BFC0C2"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot_2019-07-25%20pytorch%20Object%20detection%20Kaggle(1)</span><span class="informations">1299×506 25.1 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

username: tuxa
cooked: <p>int16 can only store values from -32768 to 32767 (2^15 bits + one for the sign). 35358 overflows the upper limit and the result gets negative.</p>

username: Abdulrahman
cooked: <p>i made it int32, and it had solved the problem. thanks alot</p>