Skip to content

[tmva][sofie] Add regression test for ReduceMean kFirst axis reduction#21733

Open
harz05 wants to merge 1 commit intoroot-project:masterfrom
harz05:test/sofie-reducemean-kfirst
Open

[tmva][sofie] Add regression test for ReduceMean kFirst axis reduction#21733
harz05 wants to merge 1 commit intoroot-project:masterfrom
harz05:test/sofie-reducemean-kfirst

Conversation

@harz05
Copy link
Copy Markdown
Contributor

@harz05 harz05 commented Mar 29, 2026

Changes:

This PR adds a regression test for the kFirst path in ReduceMean (reduction over leading axes) which was broken by a loop variable typo(fixed in #21683).

  • ReduceMean_kFirst.onnx: a [3,4] input reduced over axis=0
  • TestCustomModelsFromONNX.cxx: new test ReduceMean_kFirst verifying mean over axis=0 gives [4, 5, 6, 7]

Checklist:

  • tested changes locally

Follow-up to #21683, as requested by @guitargeek in #21729.

@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 2h 43m 41s ⏱️
 3 834 tests  3 831 ✅  1 💤 2 ❌
75 676 runs  75 656 ✅ 18 💤 2 ❌

For more details on these failures, see this check.

Results for commit 3db02ca.

@harz05
Copy link
Copy Markdown
Contributor Author

harz05 commented Mar 30, 2026

The failing tests appear to be pre-existing alma8 issues unrelated to this PR, sofie-keras-parser (Conv2D tests) also fails on master. For TMVA_SOFIE_Keras_HiggsModel.py , im not sure if this is related, could you pls review?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants