Browse Source

Add parameter information

tags/v0.7.0-beta
shenwei41 5 years ago
parent
commit
ec6fa65fd9
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mindspore/dataset/transforms/vision/c_transforms.py

+ 3
- 0
mindspore/dataset/transforms/vision/c_transforms.py View File

@@ -132,6 +132,9 @@ class Invert(cde.InvertOp):
class Decode(cde.DecodeOp):
"""
Decode the input image in RGB mode.

Args:
rgb (bool, optional): Mode of decoding input image (default=True).
"""

def __init__(self, rgb=True):


Loading…
Cancel
Save