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 | Linear Layer | |
LogSoftmax | LogSoftmax Layer | |
Sequential | Sequential Layer | |
Softmax | Softmax Layer | |
ReLU | ReLU Layer | |
Sigmoid | Sigmoid Layer | |
NegativeLogLikelihood | NegativeLogLikelihood Layer | |
Reshape | Reshape Layer |
Methods
impl LayerType
fn supports_in_place(&self) -> bool
Returns wether the LayerType supports in-place operations.