Skip to content

Deprecated jax.core.canonicalize_shape call in _types.py #3

Description

@chungmin99

Hi! This is super cool, thank you for making it -- I just ran examples/single_images.py, and stuff ran pretty smoothly :-)

I noticed that in _types.py you're using jax.core.canonicalize_shape (

self.shape = canonicalize_shape(shape)
), but this has been deprecated/removed in recent jax versions (https://github.com/google/jax/blob/60cc0411330d5c3652fe5eb8455408e7abf65912/CHANGELOG.md?plain=1#L80).

Is the canonicalize_shape call necessary? If so, maybe a note pinning the jax version could be helpful.

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