arrayfire / arrayfire/arrayfire-python
Feature: einsum
- 主要語言
- Python
- 星號
- 422
- 分支
- 63
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Good day!
Could you please Implement something like numpy.einsum (for OpenCL and CUDA)?
In particular, I'm interested in row/column-wise outer product, like this, but einsum is very universal and useful thing...
```
A = np.random.randint(1,7, size=(3,2))
B = np.random.randint(1,7, size=(2,3))
X = np.einsum('ik,kj->kij', A,B)
X
array([[[ 8, 16, 12],
[ 8, 16, 12],
[ 4, 8, 6]],
[[15, 3, 12],
[ 5, 1, 4],
[ 5, 1, 4]]])
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
The issue names no repository files, tests, or entry points; begin by locating the Python binding's array-operation API and reviewing how OpenCL and CUDA operations are exposed. Compare the requested NumPy einsum behavior and example with existing capabilities, then define supported cases and tests before implementation.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- numpy, python
- 領域
- hpc
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100