Save the date! Google I/O returns May 18-20 Register now

Module: tf_agents.bandits.policies.linalg

Utility code for linear algebra functions.


conjugate_gradient(...): Returns x such that A * x = b.

conjugate_gradient_solve(...): Returns X such that A * X = B.

simplified_woodbury_update(...): Returns w such that inverse(a + = a_inv + w.

update_inverse(...): Updates the inverse using the Woodbury matrix identity.