op { | |
name: "AdjustContrast" | |
input_arg { | |
name: "images" | |
type_attr: "T" | |
} | |
input_arg { | |
name: "contrast_factor" | |
type: DT_FLOAT | |
} | |
input_arg { | |
name: "min_value" | |
type: DT_FLOAT | |
} | |
input_arg { | |
name: "max_value" | |
type: DT_FLOAT | |
} | |
output_arg { | |
name: "output" | |
type: DT_FLOAT | |
} | |
attr { | |
name: "T" | |
type: "type" | |
allowed_values { | |
list { | |
type: DT_UINT8 | |
type: DT_INT8 | |
type: DT_INT16 | |
type: DT_INT32 | |
type: DT_INT64 | |
type: DT_FLOAT | |
type: DT_DOUBLE | |
} | |
} | |
} | |
deprecation { | |
version: 2 | |
} | |
} |