Det#

  • Domain: ai.onnx

  • Since version: 22

Det calculates determinant of a square matrix or batches of square matrices. Det takes one input tensor of shape [*, M, M], where * is zero or more batch dimensions, and the inner-most 2 dimensions form square matrices. The output is a tensor of shape [*], containing the determinants of all input submatrices. e.g., When the input is 2-D, the output is a scalar(shape is empty: []).

Inputs

  • X (T): Input tensor

Outputs

  • Y (T): Output tensor

Type Constraints

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

Differences with previous version (11)#

SchemaDiff: Det (domain 'ai.onnx')

  • old version: 11

  • new version: 22

  • breaking: no

Type constraints:

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

Version History#