chainer.functions.inv

chainer.functions.inv(a)[source]

Computes the inverse of square matrix.

Parameters:a (Variable) – Input array to compute the inverse for. Shape of the array should be (n, n) where n is the dimensionality of a square matrix.
Returns:Matrix inverse of a.
Return type:Variable