Skip to content

Implement gradient of SVD #56

@ricardoV94

Description

@ricardoV94

Please describe the purpose of filing this issue

Would be a nice addition

import pytensor.tensor as pt
x = pt.matrix("x")
y = pt.linalg.svd(x, compute_uv=False)
y_grad = pt.grad(y.sum(), x)  # NotImplementedError

Some code can be found in old Theano issues:

More context in aesara-devs/aesara#836

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions