Struct stablediffusion_wgpu::model::autoencoder::PaddedConv2dConfig
source · pub struct PaddedConv2dConfig { /* private fields */ }Implementations§
source§impl PaddedConv2dConfig
impl PaddedConv2dConfig
sourcepub fn with_stride(self, stride: usize) -> Self
pub fn with_stride(self, stride: usize) -> Self
Set the default value for the field.
Trait Implementations§
source§impl Clone for PaddedConv2dConfig
impl Clone for PaddedConv2dConfig
source§impl Config for PaddedConv2dConfig
impl Config for PaddedConv2dConfig
source§impl<'de> Deserialize<'de> for PaddedConv2dConfig
impl<'de> Deserialize<'de> for PaddedConv2dConfig
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for PaddedConv2dConfig
impl Display for PaddedConv2dConfig
Auto Trait Implementations§
impl RefUnwindSafe for PaddedConv2dConfig
impl Send for PaddedConv2dConfig
impl Sync for PaddedConv2dConfig
impl Unpin for PaddedConv2dConfig
impl UnwindSafe for PaddedConv2dConfig
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