title: Tensorflow.Js Problem: "Error: Number of coordinates in get() must match the rank of the tensor"
body: <p>What is this ? 
  Im learning tensorflow.js with youtube video "6.3: TensorFlow.js: Variables &amp; Operations - Intelligence and Learning".</p>
  
  <p>Everything works well until i try this get(). </p>
  
  <pre><code>const getRandomInt = (max) =&gt; {
  return Math.floor(Math.random() * Math.floor(max));
  };
  
     const values = [];
    for (let i = 0; i&lt; 30; i++) {
      values[i] = getRandomInt(10);
    }
  
  const shape = [2, 5, 3];
  
  const matriisi = tf.tensor3d(values, shape, 'int32');
  
  console.log(matriisi.get(3));
  </code></pre>
  
  <p>And web console says:</p>
  
  <blockquote>
    <p>"Error: Number of coordinates in get() must match the rank of the tensor"</p>
  </blockquote>