Struct candle_transformers::models::stable_diffusion::unet_2d_blocks::UpDecoderBlock2DConfig
source · pub struct UpDecoderBlock2DConfig {
pub num_layers: usize,
pub resnet_eps: f64,
pub resnet_groups: usize,
pub output_scale_factor: f64,
pub add_upsample: bool,
}
Fields§
§num_layers: usize
§resnet_eps: f64
§resnet_groups: usize
§output_scale_factor: f64
§add_upsample: bool
Trait Implementations§
source§impl Clone for UpDecoderBlock2DConfig
impl Clone for UpDecoderBlock2DConfig
source§fn clone(&self) -> UpDecoderBlock2DConfig
fn clone(&self) -> UpDecoderBlock2DConfig
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 UpDecoderBlock2DConfig
impl Debug for UpDecoderBlock2DConfig
source§impl Default for UpDecoderBlock2DConfig
impl Default for UpDecoderBlock2DConfig
impl Copy for UpDecoderBlock2DConfig
Auto Trait Implementations§
impl Freeze for UpDecoderBlock2DConfig
impl RefUnwindSafe for UpDecoderBlock2DConfig
impl Send for UpDecoderBlock2DConfig
impl Sync for UpDecoderBlock2DConfig
impl Unpin for UpDecoderBlock2DConfig
impl UnwindSafe for UpDecoderBlock2DConfig
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