What is the order of TensorFlow/Keras input_shape in the Conv1D layer?

Ask Questions Forum: ask Machine Learning Questions to our readersCategory: TensorFlow/KerasWhat is the order of TensorFlow/Keras input_shape in the Conv1D layer?
Chris Staff asked 3 weeks ago
1 Answers
Best Answer
Chris Staff answered 3 weeks ago

This is what I can read in the TensorFlow docs:

Input shape:
3+D tensor with shape: batch_shape + (steps, input_dim)

Suppose that you have the following 1D vector: [5.0, 3.1, 6.0] – it’s one time step, with three features per time step. Your input shape would then be (1, 3).

Source: https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv1D

Your Answer

8 + 15 =