- Feb 06, 2025
-
-
- Feb 05, 2025
-
-
nkoskelo authored
-
-
- Feb 04, 2025
-
-
Matt Smith authored
-
- Feb 03, 2025
-
-
- Jan 30, 2025
-
-
Matthias Diener authored
-
- Better handle 1-long axes in old and new shapes - Avoid generating modulo expressions for direct pass-through
-
-
- Jan 28, 2025
-
-
Matt Smith authored
* make CombineMapper inherit from CachedMapper * move axis tag attaching code into a separate method in AxisTagAttacher * use a class for CachedMapper caches instead of using a dict directly * drop P from mapper caches, since it's not being used * add comment about type annotations in CachedMapperCache
-
- Jan 23, 2025
-
-
- Jan 22, 2025
-
-
Matthias Diener authored
-
- Jan 17, 2025
-
-
Matt Smith authored
* avoid traversing functions multiple times * condense function cache setup * pass function cache to CombineMapper.__init__ too * use Never instead of None as the function result type for mappers that don't support functions * remove multiple inheritance for TransformMapperWithExtraArgs doesn't appear to be needed * add _verify_is_array to avoid the need for rec_ary the latter inflates recursion depth * remove map_foreign from Mapper * use Never as FunctionResultT for NumpyCodegenMapper and FancyDotWriter too * make PlaceholderSubstitutor explicit about not supporting functions * tweak types in rec/rec_function_definition * use P.args/P.kwargs in CachedWalkMapper * use a more specific type than Any for cache key in CachedWalkMapper * remove some more Anys
-
- Jan 09, 2025
-
-
Andreas Klöckner authored
-
- Dec 20, 2024
-
-
- Dec 18, 2024
-
-
Andreas Klöckner authored
-
-
- Dec 13, 2024
-
-
Addison A. authored
-
- Dec 10, 2024
-
-
- Dec 04, 2024
-
-
Matthias Diener authored
-
Matthias Diener authored
* do not pickle cached hash of arrays * no clue why this works * remove unneeded changes * add an explanation * add simple test * add another test * copy getstate/setstate implementation from dataclasses * typo?
-
- Dec 01, 2024
-
-
Andreas Klöckner authored
-
- Nov 25, 2024
-
-
Matthias Diener authored
* DictOfNamedArrays: better repr, keys * add tags to repr * make keys() abstract * add to doc * fix lint * remove invalid requirements.txt pytools version specification --------- Co-authored-by:
Andreas Klöckner <inform@tiker.net>
-
- Nov 23, 2024
-
-
- Nov 22, 2024
-
-
- Nov 19, 2024
-
-
Matthias Diener authored
* change attrs to dataclasses * post-merge fix * more fixes * switch to array_dataclass * use _augment_array_dataclass * restore attribute validation * mypy? * Disable pylint invalid-field-call --------- Co-authored-by:
Andreas Kloeckner <inform@tiker.net>
-
- Nov 17, 2024
-
-
- Nov 14, 2024
-
-
- Nov 07, 2024
-
-