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

Class EncoderBlockConfig

src/model/autoencoder/mod.rs:220–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218
219#[derive(Config)]
220pub struct EncoderBlockConfig {
221 n_channels_in: usize,
222 n_channels_out: usize,
223 downsample: bool,
224}
225
226impl EncoderBlockConfig {
227 fn init<B: Backend>(&self, device: &B::Device) -> EncoderBlock<B> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected