MCPcopy Create free account
hub / github.com/Gadersd/stable-diffusion-burn / Decoder

Class Decoder

src/model/autoencoder/mod.rs:195–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194#[derive(Module, Debug)]
195pub struct Decoder<B: Backend> {
196 conv_in: Conv2d<B>,
197 mid: Mid<B>,
198 blocks: Vec<DecoderBlock<B>>,
199 norm_out: GroupNorm<B>,
200 silu: SILU,
201 conv_out: Conv2d<B>,
202}
203
204impl<B: Backend> Decoder<B> {
205 fn forward(&self, x: Tensor<B, 4>) -> Tensor<B, 4> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected