Enum leaf::layer::LayerType [] [src]

pub enum LayerType {
    Linear(LinearConfig),
    LogSoftmax,
    Sequential(SequentialConfig),
    Softmax,
    ReLU,
    Sigmoid,
    NegativeLogLikelihood(NegativeLogLikelihoodConfig),
    Reshape(ReshapeConfig),
}

The Layer Types

Variants

Linear Layer

LogSoftmax Layer

Sequential Layer

Softmax Layer

ReLU Layer

Sigmoid Layer

NegativeLogLikelihood Layer

Reshape Layer

Methods

impl LayerType
[src]

Returns wether the LayerType supports in-place operations.

Trait Implementations

impl Debug for LayerType
[src]

Formats the value using the given formatter.

impl Clone for LayerType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more