MCPcopy Create free account
hub / github.com/evilsocket/cake / AcousticVaeDecoder

Class AcousticVaeDecoder

cake-core/src/models/vibevoice/vae_decoder.rs:270–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268/// Complete acoustic VAE decoder.
269#[derive(Debug, Clone)]
270pub struct AcousticVaeDecoder {
271 upsample_layers: Vec<UpsampleLayer>,
272 stages: Vec<DecoderStage>,
273 head_conv: RawConv1d,
274 /// Upsample ratios per stage (0 for first Conv1d stage).
275 ratios: Vec<usize>,
276 backend: Arc<dyn ComputeBackend>,
277}
278
279impl AcousticVaeDecoder {
280 pub fn load(vb: VarBuilder, cfg: &super::config::AcousticTokenizerConfig, backend: Arc<dyn ComputeBackend>) -> Result<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected