Skip to content

Commit

Permalink
sealed::InputScalarにFIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Nov 14, 2023
1 parent 868d3f6 commit 0998793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/voicevox_core/src/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ pub(crate) enum ExtractError {
#[error("不正なモデルファイルです")]
pub(crate) struct DecryptModelError;

// FIXME: `onnxruntime::TypeToTensorElementDataType`に依存する代わりに、`InputScalar`から`runtimes`
// まではvisitor patternでつなぐ
mod sealed {
pub(crate) trait InputScalar: OnnxruntimeInputScalar {}

Expand Down

0 comments on commit 0998793

Please sign in to comment.