-
Notifications
You must be signed in to change notification settings - Fork 825
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
Refacotr maximum minimum py2cpp #5724
Conversation
…Oneflow-Inc/oneflow into dev_refactor_matmul_and_add_api
…Oneflow-Inc/oneflow into dev_refactor_matmul_and_add_api
…Oneflow-Inc/oneflow into dev_refactor_matmul_and_add_api
…Oneflow-Inc/oneflow into dev_refactor_mul_and_div_api
…flow-Inc/oneflow into dev_refactor_mul_and_div_api
…flow-Inc/oneflow into refacotr_maximum_minimum__py2cpp Conflicts: oneflow/api/python/functional/python_functions.cpp python/oneflow/nn/modules/math_ops.py
@@ -236,6 +236,56 @@ py::object PyDiv(py::args py_args, py::kwargs py_kwargs) { | |||
return py::cast(result.GetPtrOrThrow()); | |||
} | |||
|
|||
py::object PyMaximum(py::args py_args, py::kwargs py_kwargs) { | |||
// "Add(Tensor x, Tensor y)" |
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.
这个注释要更换下(如果需要给 maximum 注释 signature 提示)
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.
已更改
} | ||
|
||
py::object PyMinimum(py::args py_args, py::kwargs py_kwargs) { | ||
// "Add(Tensor x, Tensor y)" |
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.
已更改
Speed stats:
|
No description provided.