Mean - version 6#

This page documents version 6 of operator Mean. See Mean for the latest version (since version 13).

  • Domain: ai.onnx

  • Since version: 6

Element-wise mean of each of the input tensors. All inputs and outputs must have the same shape and data type.

Inputs

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

Outputs

  • mean (T): Output tensor. Same dimension as inputs.

Type Constraints

  • T: Constrain input and output types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).

Differences with previous version (1)#

SchemaDiff: Mean (domain 'ai.onnx')

  • old version: 1

  • new version: 6

  • breaking: yes

Breaking reasons:

  • attribute ‘consumed_inputs’ (removed): type=INTS; required=False

Attributes:

  • [BREAKING] removed ‘consumed_inputs’: type=INTS; required=False