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

Class EncoderConfig

src/model/autoencoder/mod.rs:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74#[derive(Config)]
75pub struct EncoderConfig {
76 channels: Vec<(usize, usize)>,
77 n_group: usize,
78 n_channels_out: usize,
79}
80
81impl EncoderConfig {
82 fn init<B: Backend>(&self, device: &B::Device) -> Encoder<B> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected