# chainer.functions.batch_det¶

chainer.functions.batch_det(a)[source]

Computes the determinant of a batch of square matrices.

Parameters

a (Variable or N-dimensional array) – Input array to compute the determinant for. The first dimension should iterate over each matrix and be of the batchsize.

Returns

vector of determinants for every matrix in the batch.

Return type

Variable