This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Add parameter information
tags/v0.7.0-beta
shenwei41
5 years ago
parent
363fbb7a79
commit
ec6fa65fd9
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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):
Write
Preview
Loading…
Cancel
Save