Skip to content
New issue

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

Fix ScaledArray aval and create factory method. #10

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

balancap
Copy link
Contributor

@balancap balancap commented Nov 9, 2023

  • ScaledArray.aval returning JAX ShapedArray, like JAX API;
  • Factory method scaled_array, similar to jnp.array;

The latter makes testing code simpler & clearer.

* `ScaledArray.aval` returning JAX `ShapedArray`, like JAX API;
* Factory method `scaled_array`, similar to `jnp.array`;

The latter makes testing code simpler & clearer.
@balancap balancap force-pushed the fix-scaled-array-aval-and-create-factory-method branch from c07f0fe to 8fdeddd Compare November 9, 2023 17:17
@balancap balancap merged commit 85bf6d2 into main Nov 10, 2023
2 checks passed
@balancap balancap deleted the fix-scaled-array-aval-and-create-factory-method branch November 10, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant