[tmva][sofie] Fixes for parsing mlpf model#22150
Open
lmoneta wants to merge 1 commit intoroot-project:masterfrom
Open
[tmva][sofie] Fixes for parsing mlpf model#22150lmoneta wants to merge 1 commit intoroot-project:masterfrom
lmoneta wants to merge 1 commit intoroot-project:masterfrom
Conversation
Member
lmoneta
commented
May 5, 2026
- After the changes for CLAD the mlpf modek could not be parsed anymore. Handle now correctly the variable defining the number of non zero elements coming from Non_Zero
- Fixes also TMVA::SOFIE::Copy for different types than float making it a template function
- Add also output shape definition in generated code as it is done for the input
- After the changes for CLAD the mlpf modek could not be parsed anymore. Handle now correctly the variable defining the number of non zero elements coming from Non_Zero - Fixes also TMVA::SOFIE::Copy for different types than float making it a template function - Add also output shape definition in generated code as it is done for the input
guitargeek
approved these changes
May 5, 2026
Contributor
guitargeek
left a comment
There was a problem hiding this comment.
Thanks you very much! Looks good to me once the test is fixed.
guitargeek
requested changes
May 5, 2026
Contributor
guitargeek
left a comment
There was a problem hiding this comment.
Actually I remember that the RModel has a non-zero class version, and we can't add new non-transient data members without incrementing the class version.
Does the RModel actually need to be serializable?
Same discussion as here:
| MemoryPoolInfo fIntermediateMemoryInfo; ///<! intermediate memory info (transient) | ||
| std::unordered_map<std::string_view, size_t> fIntermediateTensorFrequencyLookup; ///<! lookup table for intermediate tensor frequency (transient) | ||
|
|
||
| std::string fExtraCodeForDimShapes; // extra code needed for initialization of dynamic parameters (e.g. number of non zero elements in NonZero operator) |
Contributor
There was a problem hiding this comment.
We can't add new non-transient class members without updating the class version
Test Results 22 files 22 suites 3d 12h 26m 12s ⏱️ For more details on these failures, see this check. Results for commit bf80eb7. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.