Xingyu-Liu's Blog

Week #11: Writing Tests and Finished Submission

Xingyu-Liu
Published: 08/24/2021

What did you do this week?

What is coming up next?

View Blog Post

Week #10: Supporting immediate arguments in Pythran

Xingyu-Liu
Published: 08/17/2021

What did you do this week?

What is coming up next?

Did you get stuck anywhere?

In General implementation of supporting immediate arguments, I met a AttributeError: 'FunctionDef' object has no attribute 'immediate_arguments', the potential solution is hard-code checking if it is FunctionDef object, if so then skip.
View Blog Post

Week #9: Adding tests for Pythran functions, and review the opened PRs

Xingyu-Liu
Published: 08/09/2021

What did you do this week?

What is coming up next?

Did you get stuck anywhere?

Stuck in supporting keepdims in numpy mean in Pythran, thanks to Serge, he helped me fixed many problems and this will be completed this week.
View Blog Post

Week #8: Support keepdims in numpy mean, hunt potential algorithms to be improved

Xingyu-Liu
Published: 08/03/2021

What did you do this week?

What is coming up next?

Since it is not easy to find good algorithms anymore and we've already improved some, it is time to change the plan. Therefore, I will work on:
  • Use Pytest and Decorator to support different dype input testing for Pythran imporved functions.
  • Revisit the algorithms we worked, get a final conclusion maybe.
  • Finish supporting keepdims in numpy mean in Pythran

Did you get stuck anywhere?

Stuck in supporting keepdims in numpy mean in Pythran and finding potential algorithms.
View Blog Post

Week #7: Support keepdims in Pythran's numpy mean

Xingyu-Liu
Published: 07/26/2021

What did you do this week?

What is coming up next?

Did you get stuck anywhere?

While supporting keepdims in numpy mean, I added a function mean(E const &expr, types::none_type axis, dtype d, std::true_type keepdims) , but I'm not sure how can I declare the return for this function . I think we need to calculated the out_shape so we can -> decltype(numpy::functor::asarray{}(sum(expr) / typename dtype::type(expr.flat_size())).reshape(out_shape))
View Blog Post
DJDT

Versions

Time

Settings from gsoc.settings

Headers

Request

SQL queries from 1 connection

Static files (2312 found, 3 used)

Templates (28 rendered)

Cache calls from 1 backend

Signals

Log messages