doc: polish ops

This commit is contained in:
lzhengning 2021-03-02 15:21:31 +08:00
parent 0a46c5941e
commit 14054b3d82
2 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,6 @@ unordered_set<string> binary_ops = {
*/
// @pybind(greater, __gt__)
"greater",
// @pybind(greater_equal, __ge__)
/**
* returns x >= y element-wise.
@ -232,8 +231,8 @@ unordered_set<string> binary_ops = {
* :param y: the second input.
* :type y: a python number or jt.Var.
*/
// @pybind(greater_equal, __ge__)
"greater_equal",
// @pybind(equal, __eq__)
/**
* returns x == y element-wise.
@ -245,6 +244,7 @@ unordered_set<string> binary_ops = {
* :param y: the second input.
* :type y: a python number or jt.Var.
*/
// @pybind(equal, __eq__)
"equal",
/**

View File

@ -269,7 +269,7 @@ static unordered_set<string> unary_ops = {
* >>> jt.atan(a)
* jt.Var([-0.70961297 0.87102956 0.44140393 0.76464504], dtype=float32)
*/
// @pybind(asin, arcsin)
// @pybind(atan, arctan)
"atan",
/**