Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tmva][sofie] Fix compilation warnings due to missing override #18030

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lmoneta
Copy link
Member

@lmoneta lmoneta commented Mar 18, 2025

No description provided.

 - remove also some warning happening by variable re-declaration when not using Session in generated code
 - fix issue in operator Range when using verbose mode
Copy link

Test Results

    20 files      20 suites   5d 9h 37m 43s ⏱️
 2 726 tests  2 695 ✅ 0 💤  31 ❌
52 591 runs  52 444 ✅ 0 💤 147 ❌

For more details on these failures, see this check.

Results for commit b273f0e.

Copy link
Contributor

@sanjibansg sanjibansg left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks for the change, just some minor suggestions on removing commented code.

Comment on lines +348 to +350
// // no need to declare xcol tensor since it is added as intermediate tensor
// if (!fUseSession)
// out << SP << fType << " tensor_" << fNX << "_f[" << fShapeW[0] * fShapeW[1] * fAttrKernelShape[0] * fAttrKernelShape[1] << "] = {0};\n";
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we can remove the commented code if it's of no use any longer

Comment on lines +404 to +409
// no need to declare xcol tensor since it is added as intermediate tensor
// if (!fUseSession) {
// out << SP << fType << " tensor_" << fNX << "_xcol["
// << fShapeX[1] * fAttrKernelShape[0] * fAttrKernelShape[1] * fAttrKernelShape[2] * oDepth * oHeight * oWidth
// << "] = {0};\n";
// }
Copy link
Contributor

Choose a reason for hiding this comment

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

same suggestion on removing the commented code

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