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