Skip to content

Commit

Permalink
相互参照
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Nov 8, 2023
1 parent 525f4b1 commit 26476f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/voicevox_core/src/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ pub(crate) trait SupportsInferenceOutput<O: Send>: InferenceRuntime {

pub(crate) trait InferenceSignature: Sized + Send + 'static {
type Kind: Enum + Copy;
type Input: InferenceInputSignature;
type Input: InferenceInputSignature<Signature = Self>;
type Output: Send;
const KIND: Self::Kind;
}

pub(crate) trait InferenceInputSignature: Send + 'static {
type Signature: InferenceSignature;
type Signature: InferenceSignature<Input = Self>;
}

pub(crate) struct InferenceSessionSet<K: Enum, R: InferenceRuntime>(
Expand Down

0 comments on commit 26476f5

Please sign in to comment.