Skip to content

load flat parameters without mutation or restructure #2026

Open
@baedan

Description

@baedan

is there a way to create a copy of an existing model with a new, flat parameters vector, without mutating, and without using restructure? the reason for the latter two is because i need the higher order derivatives wrt the flat parameter vector.

i've been fumbling about different threads (#1979 was particularly relevant) to find a solution without success, and would appreciate any pointers!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions