Max - version 12#

This page documents version 12 of operator Max. See Max for the latest version (since version 13).

  • Domain: ai.onnx

  • Since version: 12

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 the doc.

Inputs

  • data_0 (T): List of tensors for max.

Outputs

  • max (T): Output tensor.

Type Constraints

  • T: Constrain input and output types to numeric tensors. Allowed types: tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8).

Differences with previous version (8)#

SchemaDiff: Max (domain 'ai.onnx')

  • old version: 8

  • new version: 12

  • breaking: no

Type constraints:

  • changed ‘T’: added types: [‘tensor(int16)’, ‘tensor(int32)’, ‘tensor(int64)’, ‘tensor(int8)’, ‘tensor(uint16)’, ‘tensor(uint32)’, ‘tensor(uint64)’, ‘tensor(uint8)’]