Struct candle_transformers::models::stable_diffusion::unet_2d_blocks::DownEncoderBlock2DConfig    
source · pub struct DownEncoderBlock2DConfig {
    pub num_layers: usize,
    pub resnet_eps: f64,
    pub resnet_groups: usize,
    pub output_scale_factor: f64,
    pub add_downsample: bool,
    pub downsample_padding: usize,
}Fields§
§num_layers: usize§resnet_eps: f64§resnet_groups: usize§output_scale_factor: f64§add_downsample: bool§downsample_padding: usizeTrait Implementations§
source§impl Clone for DownEncoderBlock2DConfig
 
impl Clone for DownEncoderBlock2DConfig
source§fn clone(&self) -> DownEncoderBlock2DConfig
 
fn clone(&self) -> DownEncoderBlock2DConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for DownEncoderBlock2DConfig
 
impl Debug for DownEncoderBlock2DConfig
source§impl Default for DownEncoderBlock2DConfig
 
impl Default for DownEncoderBlock2DConfig
impl Copy for DownEncoderBlock2DConfig
Auto Trait Implementations§
impl Freeze for DownEncoderBlock2DConfig
impl RefUnwindSafe for DownEncoderBlock2DConfig
impl Send for DownEncoderBlock2DConfig
impl Sync for DownEncoderBlock2DConfig
impl Unpin for DownEncoderBlock2DConfig
impl UnwindSafe for DownEncoderBlock2DConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more