Skip to content

ONNX model for 2-output layernorm test#1309

Open
shahkarnav115-beep wants to merge 2 commits intoopencv:5.xfrom
shahkarnav115-beep:fix-layernorm-crash
Open

ONNX model for 2-output layernorm test#1309
shahkarnav115-beep wants to merge 2 commits intoopencv:5.xfrom
shahkarnav115-beep:fix-layernorm-crash

Conversation

@shahkarnav115-beep
Copy link
Copy Markdown

@shahkarnav115-beep shahkarnav115-beep commented Jan 20, 2026

Related to PR opencv/opencv/pull/28431
The model asks for the 2-outputs, which are:

  • Y ( Result): Normalized data
  • Mean (Statistics): Average value calculated in the process

The handling of these outputs will be verified in the regression test present in pr #28431

Copy link
Copy Markdown
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shahkarnav115-beep
Copy link
Copy Markdown
Author

I added the code which generates the layer_norm_2outputs.onnx in generate_onnx_models.py

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants