MindSpore Python API
MindArmour Python API
MindSpore Hub Python API
MindSpore Serving Python API
MindQuantum Python API
Apply invert on input image in RGB mode.
Examples
>>> transforms_list = [c_vision.Decode(), c_vision.Invert()] >>> image_folder_dataset = image_folder_dataset.map(operations=transforms_list, ... input_columns=["image"])