Skip to content

[Bug] Wrong implementation in LpPool #6302

@luyaor

Description

@luyaor

y_data += static_cast<T>(std::pow(std::abs(x_data), cxt.p_));

In many other engines like PyTorch, TVM, LpPool is defined as like here. So it is necessary to remove abs in LpPool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions