Skip to content

SVD is broken in Zygote #205

@MikeInnes

Description

@MikeInnes

e.g.

gradient(x -> sum(svd(x).S), rand(10,10))

fails due to Zygote's NamedTuples not being supported by the rrule for this function.

Would be nice to have a type alias for Composite/NamedTuple so that rrules can be generic across both. Perhaps for now we can just remove the type restriction, since no other adjoint for SVD is possible anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions