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.
|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.|
Stay in the know by signing up for occasional emails with tips, tricks, deep learning insights, product updates, event news and webinar invitations.
We promise not to spam you or share your email with any third party. You can change your preferences at any time. See our privacy policies.
Please check your email inbox account to confirm, set, or update your communication preferences.