reshape ( -1,224,224,3) code example
Example 1: reshape (n ) to (n 1)
'''
This code is contributed by :
Tanishq Vyas (github : https://github.com/tanishqvyas )
'''
actual = actual.reshape((actual.shape[0], 1))
Example 2: reshape numpy
numpy.reshape(a, newshape, order='C')