Pow#

  • Domain: ai.onnx

  • Since version: 15

Performs element-wise exponentiation.

Inputs

  • X (T): First operand, base of the exponent.

  • Y (T1): Second operand, power of the exponent.

Outputs

  • Z (T): Output tensor

Type Constraints

  • T: Constrain input X and output types to float/int tensors. Allowed types: tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int32), tensor(int64).

  • T1: Constrain input Y types to float/int tensors. Allowed types: tensor(bfloat16), 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 (7)#

SchemaDiff: Pow (domain 'ai.onnx')

  • old version: 7

  • new version: 15

  • breaking: yes

Breaking reasons:

  • input ‘Y’ (changed): type_str changed ‘T’ -> ‘T1’

Inputs:

  • [BREAKING] changed ‘Y’: type_str changed ‘T’ -> ‘T1’

Type constraints:

  • added ‘T1’: added types: [‘tensor(bfloat16)’, ‘tensor(double)’, ‘tensor(float)’, ‘tensor(float16)’, ‘tensor(int16)’, ‘tensor(int32)’, ‘tensor(int64)’, ‘tensor(int8)’, ‘tensor(uint16)’, ‘tensor(uint32)’, ‘tensor(uint64)’, ‘tensor(uint8)’]

  • changed ‘T’: added types: [‘tensor(bfloat16)’, ‘tensor(int32)’, ‘tensor(int64)’]

Version History#