Method LessOrEqual
LessOrEqual(TensorFloat, TensorFloat)
Performs an element-wise LessOrEqual
logical comparison operation: f(a, b) = 1 if a <= b, otherwise f(x) = 0.
This supports numpy-style broadcasting of input tensors.
Declaration
public TensorInt LessOrEqual(TensorFloat A, TensorFloat B)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat | A | The first input tensor. |
TensorFloat | B | The second input tensor. |
Returns
Type | Description |
---|---|
TensorInt | The computed output tensor. |
LessOrEqual(TensorInt, TensorInt)
Performs an element-wise LessOrEqual
logical comparison operation: f(a, b) = 1 if a <= b, otherwise f(x) = 0.
This supports numpy-style broadcasting of input tensors.
Declaration
public TensorInt LessOrEqual(TensorInt A, TensorInt B)
Parameters
Type | Name | Description |
---|---|---|
TensorInt | A | The first input tensor. |
TensorInt | B | The second input tensor. |
Returns
Type | Description |
---|---|
TensorInt | The computed output tensor. |