Skip to content

Return jax.Array #22

@philip-paul-mueller

Description

@philip-paul-mueller

JAX always returns jax.Array objects but we either return NumPy arrays or CuPy (although not implemented).
This will break drop in replacement.

If we are at it, we also have to modify the type annotation of the jit() wrapper.
Currently the return type is preserved, however, since we change that type we should put it to Any.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions