chainer.functions.batch_inv¶
-
chainer.functions.batch_inv(a)[source]¶ Computes the inverse of a batch of square matrices.
- Parameters
a (
Variableor N-dimensional array) – Input array to compute the inverse for. Shape of the array should be(m, n, n)wheremis the number of matrices in the batch, andnis the dimensionality of a square matrix.- Returns
Inverse of every matrix in the batch of matrices.
- Return type