Skip to content

Profiling: In some cases, the zeroing of the argument is unnecessary. #6603

@chengduoZH

Description

@chengduoZH

In some condition, the operation of set_zero is unnecessary, because math::matmul will reset input_grad. And zeroing is also time consuming.

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