Skip to content

Fold LpNormalization #143

@escorciav

Description

@escorciav

Why?
Pytorch onnx unfolds L2* normalization as multiple operators, as opposed to use LpNormalization in onnx.

What?
I feel that it's within the scope of this package to fold multiple operators into a single, no?

Relevance
Some hardware partners, e.g., Qualcomm:QNN/SNPE support LpNormalization. In such cases, model performance might suffer due to an arbitrary choice of Pytorch.

Kindly provide an example to accomplish such task.

*Possibly L1 and others

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