[][src]Enum neuro::initializers::Initializer

pub enum Initializer {
    Constant(PrimitiveType),
    GlorotNormal,
    GlorotUniform,
    HeNormal,
    HeUniform,
    LecunNormal,
    LecunUniform,
    Normal,
    NormalScaled(PrimitiveTypePrimitiveType),
    Ones,
    Uniform,
    UniformBounded(PrimitiveTypePrimitiveType),
    Zeros,
}

Used to generate the initial values for the parameters of the model.

Variants

Constant(PrimitiveType)

Given constant value.

GlorotNormal

Normal distribution scaled using Glorot scale factor.

GlorotUniform

Uniform distribution scaled using Glorot scale factor.

HeNormal

Normal distribution scaled using He scale factor.

HeUniform

Uniform distribution scaled using He scale factor.

LecunNormal

Normal distribution scaled using Lecun scale factor.

LecunUniform

Uniform distribution scaled using Lecun scale factor.

Normal

Normal distribution with mean 0 and standard deviation 0.01.

NormalScaled(PrimitiveTypePrimitiveType)

Normal distribution with given mean and standard deviation.

Ones

Ones.

Uniform

Uniform distribution within -0.01 and 0.01.

UniformBounded(PrimitiveTypePrimitiveType)

Uniform distribution within the given bounds.

Zeros

Zeros.

Trait Implementations

impl Clone for Initializer[src]

impl Copy for Initializer[src]

impl Debug for Initializer[src]

Auto Trait Implementations

impl RefUnwindSafe for Initializer

impl Send for Initializer

impl Sync for Initializer

impl Unpin for Initializer

impl UnwindSafe for Initializer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,