It is not clear to me the difference between resizing a numpy array using numpy.resize or using cv2.resize.
While implementing a CNN for image processing, I had a massive memory leak when using Numpy's function to resize a 800x800 array to 10x10, which I managed to solve by using cv2.resize instead, so I wonder what is the different behavior of this function that may have solved the problem.