keras/src/ops/image.py/RGBToGrayscale/__init__
class RGBToGrayscale:    def __init__(self, data_format=None):
        super().__init__()
        self.data_format = backend.standardize_data_format(data_format)