`
import numpy
import skimage.io
from skimage.transform import rotate
tr_1 = numpy.random.rand(5,300)
training_inputs = [numpy.reshape(tr_1[x,:], (3,10,10)) for x in range(len(tr_1))]
f = rotate(training_inputs[1], 90, resize=True)
The above code is giving an output of size (10,4,10). But image should be rotated and it's size should be of (3,10,10).
Any Suggestions and how to proceed with the code?