title: tensorflow.js 2 dimensional input?
body: <pre><code>const trainingData = tf.tensor3d(fixedData.map(item =&gt; 
         
          [[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],[...],[...],[...]]
  ))
  
   model.add(tf.layers.dense({
      inputShape: [4,16],
      activation: &quot;relu&quot;,
      units: 4,
    }))
  model.compile({
      loss: &quot;meanSquaredError&quot;,
      optimizer: tf.train.adam(0.05),
      metrics: ['accuracy']
    })
  
    model.fit(trainingData, outputData, {epochs: 10})
    .then((history) =&gt; {
      // console.log(history)
      model.predict(testingData).print()
  
        })
  </code></pre>
  <p>Error:
  (node:5118) UnhandledPromiseRejectionWarning: Error: Error when checking input: expected dense_Dense1_input to have 2 dimension(s). but got array with shape 935,4,16.</p>
  <p>can the inputShape be 2-dimension?</p>