Multi-dimensional input layers in Keras

后端 未结 1 1055
太阳男子
太阳男子 2021-01-15 23:42

Which layers in Keras can be used as a first layer to take in multi-dimensional features? I\'d like to use a dense layer with 1275 features that have 11 channels, but it lo

相关标签:
1条回答
  • 2021-01-16 00:27

    As far as I know you are correct, but you could reshape your data to have 1275 * 11 features and then run a dense layer on top of it. There is a Reshape Layer (https://keras.io/layers/core/#reshape) and a Flatten Layer (https://keras.io/layers/core/#flatten).

    For a dense layer you normally flatten your input first.

    0 讨论(0)
提交回复
热议问题