Skip to content

flax.core.copy  #2

Description

@matteoguarrera

I am not quite familiar with flax and this command has been deprecated in later versions so it lacks of documentation.
How are you using this copy methods? Is it for stopping gradients?

loss = self.mod.apply(variable.copy(dict(params=params)), ϕ, method="loss")

Do you know how to make it compatible with the latest version of flax?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions