Skip to content

[tmva][sofie] Don't mutate Session data data member in NonZero operator#21452

Closed
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:sofie_2
Closed

[tmva][sofie] Don't mutate Session data data member in NonZero operator#21452
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:sofie_2

Conversation

@guitargeek
Copy link
Contributor

There is a logic error in the code emitted for the NonZero operator because the same variable is used for the maximum dynamic shape that is stored as the sesssion data member and as a "local variable" in the inferenence function. These should be separate variables to avoid mutating the Session object on inference.

There is a logic error in the code emitted for the NonZero operator
because the same variable is used for the maximum dynamic shape that is
stored as the sesssion data member and as a "local variable" in the
inferenence function. These should be separate variables to avoid
mutating the Session object on inference.
@guitargeek guitargeek self-assigned this Mar 2, 2026
@guitargeek guitargeek requested a review from lmoneta as a code owner March 2, 2026 14:46
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Test Results

    20 files      20 suites   2d 20h 9m 40s ⏱️
 3 783 tests  3 781 ✅ 1 💤  1 ❌
69 642 runs  69 622 ✅ 9 💤 11 ❌

For more details on these failures, see this check.

Results for commit 2ecd1c8.

@guitargeek
Copy link
Contributor Author

Replaced by #21458

@guitargeek guitargeek closed this Mar 3, 2026
@guitargeek guitargeek deleted the sofie_2 branch March 3, 2026 09:05
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.

1 participant