I am having numpy 4d array of colored images shaped (1000,3,100,100) (float values) train_img, which I want to convert it to shaped (20000,1,100,100) of grayscale images bu