Skip to content

Make value_and_pullback_function a primitive instead of pullback_function #34

Closed
@sethaxen

Description

@sethaxen

Currently the internals use closures to avoid computing the primal more than once, but it would be easier to read, simpler, and more consistent with ChainRules, Zygote, Diffractor, etc to instead make value_and_pullback_function the primitive. Should come after #4.

Not certain if the same should be done for pushforward_function.

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