title: ... your model is not the size the the model expected. Expected to see 1 Tensor(s), but instead got 3 Tensors(s). error predict function tensorflow js
body: <p>I have a trained python model, it gives an error when predicting. How to pass an array to input?
  Help me please!</p>
  <p>test data:</p>
  <p><code>data = [[0.6538461538461539, 0.15384615384615385, 0.6923076923076923]]</code> (THIS I USE IN PYTHON)
  --&gt;&gt;
  Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')</p>
  <p><code>data = [0.6538461538461539, 0.15384615384615385, 0.6923076923076923]</code>
  --&gt;&gt;
  Uncaught (in promise) Error: Error when checking model : the Array of Tensors that you are passing to your model is not the size the the model expected. Expected to see 1 Tensor(s), but instead got 3 Tensors(s).</p>
  <pre><code>            (async function() {
                  model = await tf.loadLayersModel('some_model...../model.json');
                  data = [0.6538461538461539, 0.15384615384615385, 0.6923076923076923]
                  prediction = model.predict(data)
                  console.log(prediction);
              })();```
  </code></pre>