|
|
|
@ -2244,10 +2244,10 @@ class Equal(_LogicBinaryOp):
|
|
|
|
|
When the inputs are one tensor and one scalar, the scalar only could be a constant.
|
|
|
|
|
|
|
|
|
|
Inputs:
|
|
|
|
|
- **input_x** (Union[Tensor, Number, bool]) - The first input is a number or
|
|
|
|
|
a bool or a tensor whose data type is number or bool.
|
|
|
|
|
- **input_y** (Union[Tensor, Number, bool]) - The second input is a number or
|
|
|
|
|
a bool when the first input is a tensor or a tensor whose data type is number or bool.
|
|
|
|
|
- **input_x** (Union[Tensor, Number]) - The first input is a number or
|
|
|
|
|
a tensor whose data type is number.
|
|
|
|
|
- **input_y** (Union[Tensor, Number]) - The second input is a number
|
|
|
|
|
when the first input is a tensor or a tensor whose data type is number.
|
|
|
|
|
|
|
|
|
|
Outputs:
|
|
|
|
|
Tensor, the shape is the same as the one after broadcasting,and the data type is bool.
|
|
|
|
|