Test it on the Peltarion Platform

A platform to build and deploy deep learning projects.

Even if you’re not an AI superstar.

TRY FOR FREE

Reshape

The reshape block takes an input of any shape and changes its shape to an user-defined one.

The only parameter is the desired shape, expressed as a tuple. The product of all dimensions in the tuple must equal the product of all dimensions in the input. ​

Note
A word of warning: not all reshapes make sense, for example, if you have an RGBA image that is 8x8x4, under no circumstances would you go for 8x16x2.