title: Tensorflow js, getting error while using matMul
body: <pre><code>let tensor1 = tf.tensor(m1);
  let tensor2 = tf.tensor(m2);
  console.log(tensor1.shape, tensor2.shape)
  result = tf.matMul(tensor1, tensor2)
  </code></pre>
  <p>The output of shapes are =&gt; [ 6890, 3, 10 ] [ 10 ]</p>
  <p>While trying to use matMul this is the error =&gt; <code>Error: Error in matMul: inner shapes (10) and (undefined) of Tensors with shapes 6890,3,10 and 10 and transposeA=false and transposeB=false must match.</code></p>
  <p>The same multiplication works fine in python using numpy's matmul.</p>