| 268 | /// Complete acoustic VAE decoder. |
| 269 | #[derive(Debug, Clone)] |
| 270 | pub 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 | |
| 279 | impl AcousticVaeDecoder { |
| 280 | pub fn load(vb: VarBuilder, cfg: &super::config::AcousticTokenizerConfig, backend: Arc<dyn ComputeBackend>) -> Result<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected