-
Supposedly, mixing `array-api-strict` arrays with other array types should not be allowed.
Or all of them should be allowed, but then we'd need to specify something like `__array_priority__` and t…
ev-br updated
14 hours ago
-
Hi @Crimson-Crow,
This is a great little package, thank you for sharing!
I have a suggestion for an enhancement, which is providing an option to store small numpy arrays as directly as strings.
…
-
#### Describe the bug
Numpy arrays not properly working with scalar multiplication. If you try to multiply a scalar into a numpy array then you get a Type Error: Unsupported types. This only happens …
-
Example:
```python
q = cx.CylindricalPos(
rho=Quantity([1.0, 2.0], "kpc"),
phi=Quantity([0.0, 0.2], "rad"),
z=Quantity(0.0, "kpc")
)
q == q
```
```python-traceback
...
--------------------…
adrn updated
19 hours ago
-
## Description
### What steps will reproduce the problem?
When trying to open an array, or if I click a value of a numpy data type, an error pops up "Spyder was unable to retrieve the value of thi…
-
- Every NumPy function has an equivalent PyTorch function, so this makes usage of NumPy redundant.
- From my understanding, PyTorch tensors are faster than numpy arrays.
- This is not critical, and …
-
### Description
Here's a small case where np.einsum works but jnp.einsum does not
```
import numpy as np
import jax.numpy as jnp
formula = 'a,c,d,db,ab,cb,ac,cd,ad,b->dbc'
arrays = [np.ran…
-
I would like to compute an einsum according to the following formula:
```
n = 8192
arrays = [jax.random.normal(key=jax.random.PRNGKey(0), shape=(n, n)) for _ in range(6)]
formula = 'ij,ik,il,jk,…
-
The docstring of the the `s2ftt.recursions.price_mcewen.generate_precomputes` function
https://github.com/astro-informatics/s2fft/blob/7cf80bb87201fbdf39a1531a31b25a3112c1f140/s2fft/recursions/pric…
-
### What happened?
I'm attempting to use Cohere's embeddings in chromadb but getting the attached error. Here is my code:
from chromadb.utils import embedding_functions
cohere_ef = embedding_func…