The WiML Symposium 2023 returns December 7! Join the livestream at 9:30 AM PST
Register
tf_agents.bandits.policies.linalg.simplified_woodbury_update
Stay organized with collections
Save and categorize content based on your preferences.
Returns w
such that inverse(a + u.T.dot(u)) = a_inv + w
.
tf_agents.bandits.policies.linalg.simplified_woodbury_update(
a_inv: tf_agents.typing.types.Float
,
u: tf_agents.typing.types.Float
) -> tf_agents.typing.types.Float
Makes use of the Woodbury matrix identity. See
https://en.wikipedia.org/wiki/Woodbury_matrix_identity
Args |
a_inv
|
an invertible SYMMETRIC Tensor of shape [m, m] .
|
u
|
a Tensor of shape [n, m] .
|
Returns |
A Tensor w of shape [m, m] such that
inverse(a + u.T.dot(u)) = a_inv + w .
|
Raises |
ValueError
|
if a_inv is not square or a_inv and u have incompatible
shapes.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]