ee.Image.arrayProject

Projects the array in each pixel to a lower dimensional space by specifying the axes to retain. Dropped axes must be at most length 1.
UsageReturns
Image.arrayProject(axes)Image
ArgumentTypeDetails
this: inputImageInput image.
axesListThe axes to retain. Other axes will be discarded and must be at most length 1.