We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, the typing system does not leverage jaxtyping https://docs.kidger.site/jaxtyping/, which helps with static analysis.
For example, in the current typing scheme, a function could look something like
def f(x: Array) -> Array: ...
With jaxtyping, the function should look like:
def f(x: Float[Array, " n_samples"]) -> Float[Array, " n_samples"]: ...
which provides more information to the user as well. I think this is better considering the shape of array is usually very important.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, the typing system does not leverage jaxtyping https://docs.kidger.site/jaxtyping/, which helps with static analysis.
For example, in the current typing scheme, a function could look something like
With jaxtyping, the function should look like:
which provides more information to the user as well. I think this is better considering the shape of array is usually very important.
The text was updated successfully, but these errors were encountered: