Skip to content

Support dedicated square root operator #438

@huningxin

Description

@huningxin

Use case and sample models

This op was proposed by @fdwr (Thanks Dwyane!) as a WebNN v2 op in WebML WG Teleconference – 29 June 2023 to support transformer models, such as segment anything model.

Cross-framework support

It is widely supported by ML frameworks, such as

Cross-platform implementability

The dedicated square root operator is widely available in native ML APIs / libs, e.g.,

Other references

Currently the Chromium CL-4615724 maps pow(x, 0.5) to xnn_define_square_root for WebNN XNNPACK backend. It could be exposed via the dedicated square root operator when WebNN spec supports it.

/cc @wacky6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions