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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
full_like
fill_value
In [1]: import array_api_strict as xp In [2]: xp.full_like(xp.asarray(0), xp.asarray(1)) Out[2]: Array(1, dtype=array_api_strict.int64)
Spec:
fill_value (Union[bool, int, float, complex]) – fill value.
The text was updated successfully, but these errors were encountered:
This seems like it should be fixed in the standard. Getting a fill value from an array seems like it wouldn't be uncommon.
Sorry, something went wrong.
Torch only accepts a scalar in full and full_like. To update the standard, I'd want to see upstream support added first.
full
Dask also throws a FutureWarning since its implementation uses np.copyto, which it says may stop working with dask arrays in the future.
FutureWarning
np.copyto
marray
scipy.stats
No branches or pull requests
Spec:
The text was updated successfully, but these errors were encountered: