chainer.functions.batch_det

chainer.functions.batch_det(a)[source]

Computes the determinant of a batch of square matrices.

Parameters:
  • a (Variable) – Input array to compute the determinant for.
  • first dimension should iterate over each matrix and be (The) –
  • the batchsize. (of) –
Returns:

vector of determinants for every matrix in the batch.

Return type:

Variable