Skip to content

Overload of addcmul_ is deprecated: #49

Open
@sooheon

Description

@sooheon

I'm getting these warning as I train.

UserWarning: This overload of addcmul_ is deprecated:
        addcmul_(Number value, Tensor tensor1, Tensor tensor2)
Consider using one of the following signatures instead:
        addcmul_(Tensor tensor1, Tensor tensor2, *, Number value)

Seems like a pretty simple argument reordering on lines 63, 158, 241, but I'm not exactly sure of the consequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions