Skip to content

Support generic origins in transformation rules #18

@bharel

Description

@bharel

For example np.ndarray[...], with a rule np.ndarray -> callable.

Right now we require every possible combination np.ndarray[...] to be in the rules which is not practical.

The fix is quite simple - just add another check after get_origin to see if it's in the rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions