Skip to content

Problems about meta_backward #11

Description

@ProgrammerJXX

I have the following problem with the function meta_backward:

X = X+g.mul(a[0].mul(-lr)+a[1]).sum() why should i use -lr?(https://github.com/alinlab/L2T-ww/blob/master/train/meta_optimizers.py#L134)

a_new = (a[0].mul(1-lrwd).add_(wd, a[1]).add_(p.grad.data),
a[1].mul(momentum).add_(-lr
momentum, a[0])) what does this function mean?(https://github.com/alinlab/L2T-ww/blob/master/train/meta_optimizers.py#L142-L143)

I would be very appreciated if you can help me:)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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