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

ONNX importer: LSTM, Gather, Unsqueeze/Squeeze, Cast, Where, If (Silero VAD import as the gate)

オープン
#1,279 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin

調査の方向性

Start with OnnxImport.kt and the existing converters, then read the Lstm API from #823 and the ONNX opset semantics described here. The work spans recurrent lowering, multiple operators, constant-folded control flow, and test coverage; run the one-node converter tests and the pinned silero_vad.onnx import against its ORT golden. Done means end-to-end import without hand edits and outputs within 1e-4.

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

説明

enhancement file-format:onnx

Context

skainet-io-onnx's graph importer (OnnxImport.kt) handles Add, BatchNormalization, Concat, Conv, Div, Gemm, LeakyRelu, MatMul, MaxPool, Mul, Relu, Reshape, Resize, Sigmoid, Silu, Slice, Softmax, Split, Sub, Transpose, Upsample — the YOLO-shaped set from #230. Recurrent and control-flow nodes are absent, so common small audio/speech graphs (Silero VAD, RNN-T prediction nets, NeMo exports) cannot be imported even though the DSL has Lstm (#823) and gather.

This is the verification path for the native Silero VAD issue: importing the upstream graph and comparing against the hand-written module catches drift in either.

Scope

  • LSTM (ONNX opset ≥ 7 semantics: W, R, B layouts, initial_h/initial_c, direction=forward first; bidirectional as a follow-up) lowered onto Lstm.step unrolled over the sequence axis.
  • Gather, Unsqueeze, Squeeze, Cast, Where, Shape/ConstantOfShape as needed by the Silero graph.
  • If with constant-foldable conditions (Silero's sample-rate branch) — fold at import when the condition is an initializer, reject otherwise with a clear message rather than silently importing one branch.
  • Import test on the pinned silero_vad.onnx: graph builds, forward matches ORT golden within 1e-4 (same golden as the native Silero issue).
  • Ground-truth coverage for the new ops (#985).

Acceptance

  • OnnxLoader imports Silero VAD end to end without hand edits to the file.
  • Each new converter has a unit test with a minimal one-node graph.

Related

  • #230 — ONNX I/O module MVP
  • #823 — Lstm
  • #985 — ground-truth op coverage
主要言語
Kotlin
スター
52
フォーク
15
平均マージ
1日 15時間
マージ済み PR(30日)
36

環境構築

はじめの一歩

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

SKaiNET-developers/SKaiNET のほかの issue

SKaiNET-developers/SKaiNET の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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