`pt.transform.CachedMapper` should be parametric in the output type.
Open
- Dominant language
- Python
- Stars
- 15
- Forks
- 16
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
Currently `CachedMapper` is initialized with its input types, as for example -- `CachedMapper[Array]`. The same logic could be extended so that it accepts the output type as -- `CachedMapper[Array, OutT]`.
This would help us by avoiding some type-ignores and making the type system more precise.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.