Enum tch::nn::init::NormalOrUniform
source · pub enum NormalOrUniform {
Normal,
Uniform,
}
Variants§
Trait Implementations§
source§impl Clone for NormalOrUniform
impl Clone for NormalOrUniform
source§fn clone(&self) -> NormalOrUniform
fn clone(&self) -> NormalOrUniform
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 NormalOrUniform
impl Debug for NormalOrUniform
impl Copy for NormalOrUniform
Auto Trait Implementations§
impl RefUnwindSafe for NormalOrUniform
impl Send for NormalOrUniform
impl Sync for NormalOrUniform
impl Unpin for NormalOrUniform
impl UnwindSafe for NormalOrUniform
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