Skip to content

MutableTangent #105

Closed
Closed
@oxinabox

Description

@oxinabox

Mutable primal types need mutable differentials.

This is one of the things needed to support mutability in forwards mode.
(For reverse mode this is not enough).

We should have a MutableComposite type for them.

Whether it is backed by a Dict; or backed by a NamedTuple that gets swapped out everytime setproperty is called, idk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Structural TangentRelated to the `Tangent` type for structured (composite) valuesenhancementNew feature or requestforward-modeRelated to use of ChainRules for ForwardMode ADmutabilityFor issues relating to supporting mutability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions