-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MAINT Improve source generation using Tempita
#20481
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
MAINT Improve source generation using Tempita
#20481
Conversation
Tempita
for WeightVector
…vector` templates
…the`dtypes` list in Tempita `.tp` files
Answering @NicolasHug's comments on #13358:
I removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @mbatoul, for pursuing this work.
The templating of WeightVector
LGTM.
Here are some comments regarding changes and the scope of this PR.
…emplates are included.
Tempita
Tempita
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are some final suggestions and a comment for adapting a numerical hard-coded value.
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the following comments are addressed:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @mbatoul for this contribution!
Lines 65 to 70 in 81dde3a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still LGTM, @mbatoul: no need to ask for a new review. 🙂
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still LGTM, just another suggestion:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Some small doc things otherwise everything looks good.
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Thanks @mbatoul |
Co-authored-by: Joan Massich <sik@visor.udg.edu> Co-authored-by: Julien Jerphanion <git@jjerphan.xyz> Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Reference Issues/PRs
Relates to #11000.
Supersedes #13358.
Closes #13358
What does this implement/fix? Explain your changes.
This work builds on top of @massich's work (see #13358):