#[repr(i32)]pub enum RandomInitializerType {
Invalid = 0,
Uniform = 1,
GlorotUniform = 2,
Xavier = 3,
}Variants§
Invalid = 0
Uniform = 1
The uniform random initializer type.
GlorotUniform = 2
The glorot uniform random initializer type.
Xavier = 3
The Xavier random initializer type.
Trait Implementations§
Source§impl Clone for RandomInitializerType
impl Clone for RandomInitializerType
Source§fn clone(&self) -> RandomInitializerType
fn clone(&self) -> RandomInitializerType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RandomInitializerType
Source§impl Debug for RandomInitializerType
impl Debug for RandomInitializerType
impl Eq for RandomInitializerType
Source§impl PartialEq for RandomInitializerType
impl PartialEq for RandomInitializerType
Source§fn eq(&self, other: &RandomInitializerType) -> bool
fn eq(&self, other: &RandomInitializerType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RandomInitializerType
Auto Trait Implementations§
impl Freeze for RandomInitializerType
impl RefUnwindSafe for RandomInitializerType
impl Send for RandomInitializerType
impl Sync for RandomInitializerType
impl Unpin for RandomInitializerType
impl UnsafeUnpin for RandomInitializerType
impl UnwindSafe for RandomInitializerType
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