(l-onnx-doc-Max)= # Max (l-onnx-op-max-13)= ## Max - 13 ### Version - **name**: [Max (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Max) - **domain**: `main` - **since_version**: `13` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 13**. ### Summary Element-wise max of each of the input tensors (with Numpy-style broadcasting support). All inputs and outputs must have the same data type. This operator supports **multidirectional (i.e., Numpy-style) broadcasting**; for more details please check [Broadcasting in ONNX](https://github.com/onnx/onnx/blob/main/docs/Broadcasting.md). ### Inputs Between 1 and 2147483647 inputs. - **data_0** (variadic, heterogeneous) - **T**: List of tensors for max. ### Outputs - **max** (heterogeneous) - **T**: Output 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)` ): Constrain input and output types to numeric tensors. ```{toctree} text_diff_Max_12_13 ``` (l-onnx-op-max-12)= ## Max - 12 ### Version - **name**: [Max (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Max) - **domain**: `main` - **since_version**: `12` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 12**. ### Summary Element-wise max of each of the input tensors (with Numpy-style broadcasting support). All inputs and outputs must have the same data type. This operator supports **multidirectional (i.e., Numpy-style) broadcasting**; for more details please check [Broadcasting in ONNX](https://github.com/onnx/onnx/blob/main/docs/Broadcasting.md). ### Inputs Between 1 and 2147483647 inputs. - **data_0** (variadic, heterogeneous) - **T**: List of tensors for max. ### Outputs - **max** (heterogeneous) - **T**: Output 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)` ): Constrain input and output types to numeric tensors. ```{toctree} text_diff_Max_8_13 text_diff_Max_8_12 ``` (l-onnx-op-max-8)= ## Max - 8 ### Version - **name**: [Max (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Max) - **domain**: `main` - **since_version**: `8` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 8**. ### Summary Element-wise max of each of the input tensors (with Numpy-style broadcasting support). All inputs and outputs must have the same data type. This operator supports **multidirectional (i.e., Numpy-style) broadcasting**; for more details please check [Broadcasting in ONNX](https://github.com/onnx/onnx/blob/main/docs/Broadcasting.md). ### Inputs Between 1 and 2147483647 inputs. - **data_0** (variadic, heterogeneous) - **T**: List of tensors for max. ### Outputs - **max** (heterogeneous) - **T**: Output tensor. ### Type Constraints * **T** in ( `tensor(double)`, `tensor(float)`, `tensor(float16)` ): Constrain input and output types to float tensors. ```{toctree} text_diff_Max_6_13 text_diff_Max_6_12 text_diff_Max_6_8 ``` (l-onnx-op-max-6)= ## Max - 6 ### Version - **name**: [Max (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Max) - **domain**: `main` - **since_version**: `6` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 6**. ### Summary Element-wise max of each of the input tensors. All inputs and outputs must have the same shape and data type. ### Inputs Between 1 and 2147483647 inputs. - **data_0** (variadic, heterogeneous) - **T**: List of tensors for Max. ### Outputs - **max** (heterogeneous) - **T**: Output tensor. Same dimension as inputs. ### Type Constraints * **T** in ( `tensor(double)`, `tensor(float)`, `tensor(float16)` ): Constrain input and output types to float tensors. ```{toctree} text_diff_Max_1_13 text_diff_Max_1_12 text_diff_Max_1_8 text_diff_Max_1_6 ``` (l-onnx-op-max-1)= ## Max - 1 ### Version - **name**: [Max (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Max) - **domain**: `main` - **since_version**: `1` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `False` This version of the operator has been available **since version 1**. ### Summary Element-wise max of each of the input tensors. All inputs and outputs must have the same shape and data type. ### Attributes * **consumed_inputs - INTS** : legacy optimization attribute. ### Inputs Between 1 and 2147483647 inputs. - **data_0** (variadic, heterogeneous) - **T**: List of tensors for Max. ### Outputs - **max** (heterogeneous) - **T**: Output tensor. Same dimension as inputs. ### Type Constraints * **T** in ( `tensor(double)`, `tensor(float)`, `tensor(float16)` ): Constrain input and output types to float tensors.