Type MatrixInverseTriL
Namespace tensorflow.contrib.distributions.bijectors
Parent Bijector
Interfaces IMatrixInverseTriL
Computes `g(L) = inv(L)`, where `L` is a lower-triangular matrix. `L` must be nonsingular; equivalently, all diagonal entries of `L` must be
nonzero. The input must have `rank >= 2`. The input is treated as a batch of matrices
with batch shape `input.shape[:-2]`, where each matrix has dimensions
`input.shape[-2]` by `input.shape[-1]` (hence `input.shape[-2]` must equal
`input.shape[-1]`). #### Examples
Show Example
tfd.bijectors.MatrixInverseTriL().forward(x=[[1., 0], [2, 1]]) # Result: [[1., 0], [-2, 1]], i.e., inv(x) tfd.bijectors.MatrixInverseTriL().inverse(y=[[1., 0], [-2, 1]]) # Result: [[1., 0], [2, 1]], i.e., inv(y).