class_docstr: Tests the correctness of the Y = inv(tril) transformation.
class_docstr_tok: ["Tests","the","correctness","of","the","Y","=","inv","(","tril",")","transformation","."]
code: def testErrorOnInputNotLowerTriangular(self):
      inv = matrix_inverse_tril.MatrixInverseTriL(validate_args=True)
      x_ = np.array([[1.0, 2.0], [3.0, 4.0]], dtype=np.float32)
      triangular_error_msg = "must be lower triangular"
      with self.assertRaisesOpError(triangular_error_msg):
          self.evaluate(inv.forward(x_))
      with self.assertRaisesOpError(triangular_error_msg):
          self.evaluate(inv.inverse(x_))
      with self.assertRaisesOpError(triangular_error_msg):
          self.evaluate(inv.forward_log_det_jacobian(x_, event_ndims=2))
      with self.assertRaisesOpError(triangular_error_msg):
          self.evaluate(inv.inverse_log_det_jacobian(x_, event_ndims=2))
  
file_path: probability/tensorflow_probability/python/bijectors/matrix_inverse_tril_test.py
imports: import numpy
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import fill_triangular
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.bijectors import matrix_inverse_tril
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 7 for calling the MatrixInverseTriLBijectorTest obj's underlying member method code with example usage: obj.testErrorOnInputNotLowerTriangular() without return types