-
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…
-
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 …
-
The current situation when an index is an array of ints or bools is very messy:
- numpy blindly passes every unexpected object it finds to np.asarray, which makes it accept np.ndarray, lists, tuple…
-
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
...
--------------------…
-
## 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…
-
```python
import numba
import numpy as np
def sum_np(x):
return np.sum(x)
@numba.njit
def sum_np_overloaded(x):
return np.sum(x)
@numba.njit
def sum_flat(x):
acc = 0.0
…
-
### 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,…
-
### 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…