Skip to content

Type hint at property in basearray.pyi #14909

Closed
@soraros

Description

@soraros

Type hint jax.Array.at to aid IDEs.

Didn't submit a PR directly because

  1. Not sure if there is any circular import issue
  2. _IndexUpdateHelper is in internal, do we change the name or __name__ to make it look better?

General question for JAX developers: is there a 'canonical' name for the at-properties? jax.Array.at is not convenient for verbal communication. Maybe, functional array index accessor? I really want a name that is searchable, and I could refer to, say when answering questions in Github discussions.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions