inducer / inducer/pytato

[Bug] Scalar dtype incompatibility with numpy

Open
#414 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15
Forks
16
Avg merge
17m
Merged PRs (30d)
1

Description

```python
>>> a_np = np.random.rand(10, 4).astype(np.float32)
>>> np.minimum(a_np, 255).dtype
dtype('float32')
>>> pt.minimum(pt.make_data_wrapper(a_np), 255).dtype
dtype('float64')
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.