inducer / inducer/pytato

`pt.transform.CachedMapper` should be parametric in the output type.

Open
#235 0 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.