-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
Structural TangentRelated to the `Tangent` type for structured (composite) valuesRelated to the `Tangent` type for structured (composite) valuesenhancementNew feature or requestNew feature or requestforward-modeRelated to use of ChainRules for ForwardMode ADRelated to use of ChainRules for ForwardMode ADmutabilityFor issues relating to supporting mutabilityFor issues relating to supporting mutability
Description
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
Labels
Structural TangentRelated to the `Tangent` type for structured (composite) valuesRelated to the `Tangent` type for structured (composite) valuesenhancementNew feature or requestNew feature or requestforward-modeRelated to use of ChainRules for ForwardMode ADRelated to use of ChainRules for ForwardMode ADmutabilityFor issues relating to supporting mutabilityFor issues relating to supporting mutability