LessOrEqual#

LessOrEqual - 16#

Version

  • name: LessOrEqual (GitHub)

  • domain: main

  • since_version: 16

  • function: True

  • support_level: SupportType.COMMON

  • shape inference: False

This version of the operator has been available since version 16.

Summary

Returns the tensor resulted from performing the less_equal logical operation elementwise on the input tensors A and B (with Numpy-style broadcasting support).

This operator supports multidirectional (i.e., Numpy-style) broadcasting; for more details please check Broadcasting in ONNX.

Inputs

  • A (heterogeneous) - T: First input operand for the logical operator.

  • B (heterogeneous) - T: Second input operand for the logical operator.

Outputs

  • C (heterogeneous) - T1: Result tensor.

Type Constraints

  • T in ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ): Constrains input types to all numeric tensors.

  • T1 in ( tensor(bool) ): Constrains output to boolean tensor.

Examples

Differences

00Returns the tensor resulted from performing the less_equal logical operationReturns the tensor resulted from performing the less_equal logical operation
11elementwise on the input tensors A and B (with Numpy-style broadcasting support).elementwise on the input tensors A and B (with Numpy-style broadcasting support).
22
33This operator supports **multidirectional (i.e., Numpy-style) broadcasting**; for more details please check Broadcasting in ONNX _.This operator supports **multidirectional (i.e., Numpy-style) broadcasting**; for more details please check Broadcasting in ONNX _.
44
55**Inputs****Inputs**
66
77* **A** (heterogeneous) - **T**:* **A** (heterogeneous) - **T**:
88 First input operand for the logical operator. First input operand for the logical operator.
99* **B** (heterogeneous) - **T**:* **B** (heterogeneous) - **T**:
1010 Second input operand for the logical operator. Second input operand for the logical operator.
1111
1212**Outputs****Outputs**
1313
1414* **C** (heterogeneous) - **T1**:* **C** (heterogeneous) - **T1**:
1515 Result tensor. Result tensor.
1616
1717**Type Constraints****Type Constraints**
1818
1919* **T** in (* **T** in (
20 tensor(bfloat16),
2021 tensor(double), tensor(double),
2122 tensor(float), tensor(float),
2223 tensor(float16), tensor(float16),
2324 tensor(int16), tensor(int16),
2425 tensor(int32), tensor(int32),
2526 tensor(int64), tensor(int64),
2627 tensor(int8), tensor(int8),
2728 tensor(uint16), tensor(uint16),
2829 tensor(uint32), tensor(uint32),
2930 tensor(uint64), tensor(uint64),
3031 tensor(uint8) tensor(uint8)
3132 ): ):
3233 Constrains input types to all numeric tensors. Constrains input types to all numeric tensors.
3334* **T1** in (* **T1** in (
3435 tensor(bool) tensor(bool)
3536 ): ):
3637 Constrains output to boolean tensor. Constrains output to boolean tensor.

LessOrEqual - 12#

Version

  • name: LessOrEqual (GitHub)

  • domain: main

  • since_version: 12

  • function: True

  • support_level: SupportType.COMMON

  • shape inference: False

This version of the operator has been available since version 12.

Summary

Returns the tensor resulted from performing the less_equal logical operation elementwise on the input tensors A and B (with Numpy-style broadcasting support).

This operator supports multidirectional (i.e., Numpy-style) broadcasting; for more details please check Broadcasting in ONNX.

Inputs

  • A (heterogeneous) - T: First input operand for the logical operator.

  • B (heterogeneous) - T: Second input operand for the logical operator.

Outputs

  • C (heterogeneous) - T1: Result tensor.

Type Constraints

  • T in ( tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ): Constrains input types to all numeric tensors.

  • T1 in ( tensor(bool) ): Constrains output to boolean tensor.