arrayfire / arrayfire/arrayfire-python

Feature: einsum

オープン
#156 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。