2.4K Star 8.1K Fork 4.4K

GVPMindSpore / mindspore

 / 详情

[MS][CN][API][DOC]mindspore.dataset.vision.c_transforms.RandomColor existing format erroring

DONE
Bug-Report
创建于  
2022-04-15 09:28
name about labels
Bug Report Use this template for reporting a bug kind/bug

Describe the current behavior / 问题描述 (Mandatory / 必填)

mindspore.dataset.vision.c_transforms.RandomColor页面存在格式问题,缺少括号

Environment / 环境信息 (Mandatory / 必填)

  • Hardware Environment(Ascend/GPU/CPU) / 硬件环境:

Please delete the backend not involved / 请删除不涉及的后端:
/device ascend

  • Software Environment / 软件环境 (Mandatory / 必填):
    -- MindSpore version (e.g.,r1.6 commit_id=xxxx) : commit_id = ''[sha1]:4cf848ff,[branch]:(HEAD,origin/r1.7,r1.7)''
    -- Python version (e.g., Python 3.7.5) :Python 3.7.5
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):Ubuntu 18.04
    -- GCC/Compiler version (if compiled from source):

  • Excute Mode / 执行模式 (Mandatory / 必填)(PyNative/Graph):

Please delete the mode not involved / 请删除不涉及的模式:
/mode graph

Related testcase / 关联用例 (Mandatory / 必填)

test_ms_usability_api_0001

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

  1. check https://www.mindspore.cn/docs/api/zh-CN/master/api_python/dataset_vision/mindspore.dataset.vision.c_transforms.RandomColor.html#mindspore.dataset.vision.c_transforms.RandomColor

Describe the expected behavior / 预期结果 (Mandatory / 必填)

补上缺少的括号,格式正确

Related log / screenshot / 日志 / 截图 (Mandatory / 必填)

输入图片说明

Special notes for this issue/备注 (Optional / 选填)

评论 (4)

hezixian 创建了Bug-Report
hezixian 添加了
 
sig/doc
标签
hezixian 添加了
 
kind/bug
标签
hezixian 添加了
 
stage/coding
标签
hezixian 添加了func/parse(已删除)标签
hezixian 添加了attr/ease-of-use(已删除)标签
hezixian 添加了
 
v1.8.0
标签
展开全部操作日志

Please assign maintainer to check this issue.
请为此issue分配处理人。
@hezixian

Please add labels (comp or sig), also you can visit https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md to find more.
为了让代码尽快被审核,请您为Pull Request打上 组件(comp)或兴趣组(sig) 标签,打上标签的PR可直接推送给责任人进行审核。
更多的标签可以查看https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md
以组件相关代码提交为例,如果你提交的是data组件代码,你可以这样评论:
//comp/data
当然你也可以邀请data SIG组来审核代码,可以这样写:
//sig/data
另外你还可以给这个PR标记类型,例如是bugfix或者是特性需求:
//kind/bug or //kind/feature
恭喜你,你已经学会了使用命令来打标签,接下来就在下面的评论里打上标签吧!

Appearance & Root Cause

  • Appearance:
    mindspore.dataset.vision.c_transforms.RandomColor existing format erroring.
  • Root Cause:
    Missing a closing bracket.

Fix Solution

pr: !33063:Fix formatting errors

Self validationcd

输入图片说明

刘勇琪 任务状态TODO 修改为VALIDATION
刘勇琪 任务状态VALIDATION 修改为DONE
刘勇琪 任务状态DONE 修改为VALIDATION
刘勇琪 添加协作者刘勇琪
刘勇琪 负责人刘勇琪 修改为hezixian
刘勇琪 里程碑B-SIG-Data 修改为B-SolutionTest

Regression Time :2022/04/16
Regression Version :commit_id =''[sha1]:7a402ea1,[branch]:(HEAD,origin/r1.7,r1.7)''
Regression Step :execute test case.
Regression Result :fixed format error
输入图片说明
Regression Conclusion :Pass

hezixian 任务状态VALIDATION 修改为DONE
hezixian 移除了attr/usability(已删除)标签
LV 添加了
 
sig/compiler
标签
LV 移除了func/parse(已删除)标签
刘勇琪 添加了
 
rct/bugfix
标签
刘勇琪 添加了
 
rca/others
标签
刘勇琪 添加了
 
ctl/componenttest
标签
刘勇琪 移除了
 
ctl/componenttest
标签
刘勇琪 添加了
 
ctl/solutiontest
标签
刘勇琪 添加了
 
rct/oldrelease
标签
刘勇琪 移除了
 
rct/bugfix
标签
刘勇琪 移除了
 
rct/bugfix
标签
刘勇琪 添加了
 
rct/bugfix
标签
刘勇琪 移除了
 
rct/bugfix
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助

53164aa7 5694891 3bd8fe86 5694891