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 in a tuple as a comma-separeted integers. 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.

Parameter

Shape: The desired shape, expressed in a tuple as a comma-separeted integers.

Was this page helpful?
YesNo