@staticmethod
def update_config_with_metadata(input_feature, feature_metadata, *args, **kwargs):
    for key in ['height', 'width', 'num_channels', 'scaling']:
        input_feature[key] = feature_metadata[PREPROCESSING][key]
@staticmethod
def update_config_with_metadata(input_feature, feature_metadata, *args, **kwargs):
    for key in ['height', 'width', 'num_channels', 'scaling']:
        input_feature[key] = feature_metadata[PREPROCESSING][key]