keras/src/layers/preprocessing/random_crop.py/RandomCrop/compute_output_shape
class RandomCrop:    def compute_output_shape(self, input_shape, *args, **kwargs):
        input_shape = list(input_shape)
        input_shape[self.height_axis] = self.height
        input_shape[self.width_axis] = self.width
        return tuple(input_shape)