Type TransformDiagonal
Namespace tensorflow.contrib.distributions.bijectors
Parent Bijector
Interfaces ITransformDiagonal
Applies a Bijector to the diagonal of a matrix. #### Example
Show Example
b = tfb.TransformDiagonal(diag_bijector=tfb.Exp()) b.forward([[1., 0.], [0., 1.]]) # ==> [[2.718, 0.], [0., 2.718]]