-
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
new api/op repeat_interleave #37981
new api/op repeat_interleave #37981
Conversation
Thanks for your contribution! |
python/paddle/fluid/tests/unittests/test_repeat_interleave_op.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/test_repeat_interleave_op.py
Outdated
Show resolved
Hide resolved
python/paddle/fluid/tests/unittests/test_repeat_interleave_op.py
Outdated
Show resolved
Hide resolved
shall we add example of API in Describe ? |
x (Tensor): The input Tensor to be operated. The data of ``x`` can be one of float32, float64, int32, int64. | ||
repeats (Tensor or int): The number of repetitions for each element. repeats is broadcasted to fit the shape of the given axis. | ||
axis (int, optional): The dimension in which we manipulate. Default: if None, the output tensor is flatten. | ||
name(str, optional): The default value is None. Normally there is no |
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.
if None -> None
|
||
Returns: | ||
Tensor: A Tensor with same data type as ``x``. | ||
|
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.
示例代码要显式的写 Examples:
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
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.
TODO: Fix API Docs
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
New features
PR changes
APIs
Describe
new api/op repeat_interleave
examples
performance v.s. PyTorch