Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

RFC: add support for batched matmul / einsum / batched tensordot

オープン
#727 コメント 21 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
領域
data

調査の方向性

この issue ではファイル、テスト、エントリポイントが指定されていません。まず Array API 標準を確認し、提案されている batched_matmul、batched tensordot、einsum のアプローチを比較してください。複数の代替案を未決定のまま残すのではなく、サポートされる操作を 1 つ選択して仕様化すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Needs Discussion RFC topic: Linear Algebra

Currently I don't see a way to implement einsum or batched matmul using the standard. There is a way with explicit loop, but that does not count.

Some ways this can be addressed:

  • minimal implementation would include batched_matmul (signature bij, bjk -> bik). Other operations can be reduced to it with reshapes. This may include additional copies
  • modification of tensordot to include batched dimensions thus should be more efficient, but AFAIK this method is not surfaced in any major framework
  • include einsum in the standard
主要言語
Python
スター
281
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

data-apis/array-api のほかの issue

data-apis/array-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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