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

Class DecoderBlockConfig

src/model/autoencoder/mod.rs:269–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268#[derive(Config)]
269pub struct DecoderBlockConfig {
270 n_channels_in: usize,
271 n_channels_out: usize,
272 upsample: bool,
273}
274
275impl DecoderBlockConfig {
276 fn init<B: Backend>(&self, device: &B::Device) -> DecoderBlock<B> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected