-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refine the full_like Op test=develop #25294
refine the full_like Op test=develop #25294
Conversation
…into wangchaochaohu-full_like
Thanks for your contribution! |
Thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
python/paddle/tensor/creation.py
Outdated
fill_value(bool|float|int|Variable): The value to fill the tensor with. Default value is 0. | ||
Note: this value shouldn't exceed the range of the output data type. | ||
dtype(np.dtype|core.VarDesc.VarType|str, optional): The data type of output. The data type can be one | ||
of bool, float16, float32, float64, int32, int64 .The default value is None, which means the output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
int64 .The default value
格式有问题,句点应该跟着前面的词
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Function optimization
PR changes
Ops
Describe
refine the full_like API for 2.0
old
new