J.Down
J.Down

Reputation: 775

Reshape array in keras

Is it possible in keras to [Reshape][1] an array in eras by only specifying one of the two dimension, such that the last dimension fits accordingly?

In my case i have (30,1,2080) and i want to reshape it to (15,)

Upvotes: 1

Views: 649

Answers (1)

J.Down
J.Down

Reputation: 775

Just put the last dim to -1.. So Reshape(15,-1)

Upvotes: 1

Related Questions