Remove cached tensors from LinearOperator.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 22 Mar 2018 23:05:22 +0000 (16:05 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 22 Mar 2018 23:08:16 +0000 (16:08 -0700)
commitfd3baace5f494aff716fdb576bdaa6f91b40e16e
tree0e16d457a5feaf0a707c9fd18fd291f431e1aa4e
parent712539de21d9d122f27253667f84d63c8dcf8aaa
Remove cached tensors from LinearOperator.

CSE should already ensure that tensors are deduped (i.e. multiple Cholesky's for the same matrix are not performed).

This also makes it easier to use LinearOperators in tf.while_loop.

PiperOrigin-RevId: 190141732
tensorflow/python/ops/linalg/linear_operator.py