Reshape#
- class polpo.preprocessing.np.Reshape(shape)[source]#
Bases:
PreprocessingStep
Gives a new shape to an array without changing its data.
https://numpy.org/doc/stable/reference/generated/numpy.reshape.html#numpy-reshape
- Parameters:
shape (int or tuple[int]) – New shape. Must be compatible.