mirror of https://github.com/Jittor/Jittor
doc: polish ops
This commit is contained in:
parent
0a46c5941e
commit
14054b3d82
|
@ -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",
|
||||
|
||||
/**
|
||||
|
|
|
@ -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",
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue