title: Pytorch broadcasting product of two tensors
body: <p>I want to multiply two tensors, here is what I have got:</p>
  
  <ul>
  <li><code>A</code> tensor of shape <code>(20, 96, 110)</code></li>
  <li><code>B</code> tensor of shape <code>(20, 16, 110)</code></li>
  </ul>
  
  <p>The first index is for batch size.
  What I want to do is essentially take each tensor from <code>B</code> - <code>(20, 1, 110)</code>, for example, and with that, I want to multiply each <code>A</code> tensor <code>(20, n, 110)</code>.
  So the product will be at the end: tensor <code>AB</code> which shape is <code>(20, 96 * 16, 110)</code>.</p>
  
  <p>So I want to multiply each tensor from <code>A</code> by broadcasting with <code>B</code>.
  Is there a method in PyTorch that does it?</p>