Skip to content

[bugfix] pnnx: emit Erf layer for expression erf#6677

Merged
nihui merged 1 commit into
Tencent:masterfrom
crafcat7:erf_pass_ncnn_bugfix
Apr 14, 2026
Merged

[bugfix] pnnx: emit Erf layer for expression erf#6677
nihui merged 1 commit into
Tencent:masterfrom
crafcat7:erf_pass_ncnn_bugfix

Conversation

@crafcat7
Copy link
Copy Markdown
Contributor

Summary

Expand fused erf expressions into the dedicated Erf layer instead of routing
them through UnaryOp, and add torchscript / ONNX coverage to prevent regressions.
This avoids the unsupported UnaryOp erf path while keeping the rest of the
expression expansion unchanged.

Summary:
  Expand fused `erf` expressions into the dedicated `Erf` layer instead of routing
  them through `UnaryOp`, and add torchscript / ONNX coverage to prevent regressions.
  This avoids the unsupported `UnaryOp erf` path while keeping the rest of the
  expression expansion unchanged.
@crafcat7 crafcat7 force-pushed the erf_pass_ncnn_bugfix branch from 9e486da to 921df24 Compare April 14, 2026 06:05
@nihui nihui merged commit 82352c9 into Tencent:master Apr 14, 2026
27 checks passed
@nihui
Copy link
Copy Markdown
Member

nihui commented Apr 14, 2026

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants