pub struct DownBlock2DConfig {
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: usize
Trait Implementations§
source§impl Clone for DownBlock2DConfig
impl Clone for DownBlock2DConfig
source§fn clone(&self) -> DownBlock2DConfig
fn clone(&self) -> DownBlock2DConfig
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 DownBlock2DConfig
impl Debug for DownBlock2DConfig
source§impl Default for DownBlock2DConfig
impl Default for DownBlock2DConfig
impl Copy for DownBlock2DConfig
Auto Trait Implementations§
impl Freeze for DownBlock2DConfig
impl RefUnwindSafe for DownBlock2DConfig
impl Send for DownBlock2DConfig
impl Sync for DownBlock2DConfig
impl Unpin for DownBlock2DConfig
impl UnwindSafe for DownBlock2DConfig
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