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(LinearConfig)
Linear Layer
LogSoftmax
LogSoftmax Layer
Sequential(SequentialConfig)
Sequential Layer
Softmax
Softmax Layer
ReLU
ReLU Layer
Sigmoid
Sigmoid Layer
NegativeLogLikelihood(NegativeLogLikelihoodConfig)
NegativeLogLikelihood Layer
Reshape(ReshapeConfig)
Reshape Layer
Methods
impl LayerType
[src]
fn supports_in_place(&self) -> bool
Returns wether the LayerType supports in-place operations.
Trait Implementations
impl Debug for LayerType
[src]
impl Clone for LayerType
[src]
fn clone(&self) -> LayerType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more