New to Peltarion? Discover our deep learning Platform

A single deep learning platform to build and deploy your projects, even if you’re not an AI superstar.

FIND OUT MORE

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.