arrayfire / arrayfire/arrayfire-python
Adding squeeze
未關閉
- 主要語言
- Python
- 星號
- 422
- 分支
- 63
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Would be nice to have a wrapper for squeeze.
Without squeeze, matmul usage is quite limited because if will fail for all slices of bigger matrices. Example:
```
import arrayfire as af
x = af.constant(0, 10, 5, 5, dtype=af.Dtype.f64)
af.matmul(x[0,:,:],x[1,:,:]) # will fail because only matrices with two dimensions are allowed
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。