mlpack
|
Implementation of a class that returns the string representation of the name of the given layer. More...
#include <layer_names.hpp>
Public Member Functions | |
LayerNameVisitor () | |
Create the LayerNameVisitor object. | |
std::string | LayerString (AdaptiveMaxPooling<> *) const |
Return the name of the given layer of type AdaptiveMaxPooling as string. More... | |
std::string | LayerString (AdaptiveMeanPooling<> *) const |
Return the name of the given layer of type AdaptiveMeanPooling as string. More... | |
std::string | LayerString (AtrousConvolution<> *) const |
Return the name of the given layer of type AtrousConvolution as a string. More... | |
std::string | LayerString (AlphaDropout<> *) const |
Return the name of the given layer of type AlphaDropout as a string. More... | |
std::string | LayerString (BatchNorm<> *) const |
Return the name of the given layer of type BatchNorm as a string. More... | |
std::string | LayerString (Constant<> *) const |
Return the name of the given layer of type Constant as a string. More... | |
std::string | LayerString (Convolution<> *) const |
Return the name of the given layer of type Convolution as a string. More... | |
std::string | LayerString (DropConnect<> *) const |
Return the name of the given layer of type DropConnect as a string. More... | |
std::string | LayerString (Dropout<> *) const |
Return the name of the given layer of type Dropout as a string. More... | |
std::string | LayerString (FlexibleReLU<> *) const |
Return the name of the given layer of type FlexibleReLU as a string. More... | |
std::string | LayerString (LayerNorm<> *) const |
Return the name of the given layer of type LayerNorm as a string. More... | |
std::string | LayerString (Linear<> *) const |
Return the name of the given layer of type Linear as a string. More... | |
std::string | LayerString (LinearNoBias<> *) const |
Return the name of the given layer of type LinearNoBias as a string. More... | |
std::string | LayerString (NoisyLinear<> *) const |
Return the name of the given layer of type NoisyLinear as a string. More... | |
std::string | LayerString (MaxPooling<> *) const |
Return the name of the given layer of type MaxPooling as a string. More... | |
std::string | LayerString (MeanPooling<> *) const |
Return the name of the given layer of type MeanPooling as a string. More... | |
std::string | LayerString (LpPooling<> *) const |
Return the name of the given layer of type LpPooling as a string. More... | |
std::string | LayerString (MultiplyConstant<> *) const |
Return the name of the given layer of type MultiplyConstant as a string. More... | |
std::string | LayerString (ReLULayer<> *) const |
Return the name of the given layer of type ReLULayer as a string. More... | |
std::string | LayerString (TransposedConvolution<> *) const |
Return the name of the given layer of type TransposedConvolution as a string. More... | |
std::string | LayerString (IdentityLayer<> *) const |
Return the name of the given layer of type IdentityLayer as a string. More... | |
std::string | LayerString (TanHLayer<> *) const |
Return the name of the given layer of type TanHLayer as a string. More... | |
std::string | LayerString (ELU<> *) const |
Return the name of the given layer of type ELU as a string. More... | |
std::string | LayerString (HardTanH<> *) const |
Return the name of the given layer of type HardTanH as a string. More... | |
std::string | LayerString (LeakyReLU<> *) const |
Return the name of the given layer of type LeakyReLU as a string. More... | |
std::string | LayerString (PReLU<> *) const |
Return the name of the given layer of type PReLU as a string. More... | |
std::string | LayerString (SigmoidLayer<> *) const |
Return the name of the given layer of type SigmoidLayer as a string. More... | |
std::string | LayerString (LogSoftMax<> *) const |
Return the name of the given layer of type LogSoftMax as a string. More... | |
std::string | LayerString (LSTM<> *) const |
std::string | LayerString (CReLU<> *) const |
Return the name of the given layer of type CReLU as a string. More... | |
std::string | LayerString (Highway<> *) const |
Return the name of the given layer of type Highway as a string. More... | |
std::string | LayerString (GRU<> *) const |
Return the name of the given layer of type GRU as a string. More... | |
std::string | LayerString (Glimpse<> *) const |
Return the name of the given layer of type Glimpse as a string. More... | |
std::string | LayerString (FastLSTM<> *) const |
Return the name of the given layer of type FastLSTM as a string. More... | |
std::string | LayerString (WeightNorm<> *) const |
Return the name of the given layer of type WeightNorm as a string. More... | |
template<typename T > | |
std::string | LayerString (T *) const |
Return the name of the layer of specified type as a string. More... | |
std::string | operator() (MoreTypes layer) const |
Overload function call. | |
template<typename LayerType > | |
std::string | operator() (LayerType *layer) const |
Overload function call. | |
Implementation of a class that returns the string representation of the name of the given layer.
|
inline |
Return the name of the given layer of type AdaptiveMaxPooling as string.
* | Given layer of type AdaptiveMaxPooling. |
|
inline |
Return the name of the given layer of type AdaptiveMeanPooling as string.
* | Given layer of type AdaptiveMeanPooling. |
|
inline |
Return the name of the given layer of type AtrousConvolution as a string.
* | Given layer of type AtrousConvolution. |
|
inline |
Return the name of the given layer of type AlphaDropout as a string.
* | Given layer of type AlphaDropout. |
|
inline |
Return the name of the given layer of type BatchNorm as a string.
* | Given layer of type BatchNorm. |
|
inline |
Return the name of the given layer of type Constant as a string.
* | Given layer of type Constant. |
|
inline |
Return the name of the given layer of type Convolution as a string.
* | Given layer of type Convolution. |
|
inline |
Return the name of the given layer of type DropConnect as a string.
* | Given layer of type DropConnect. |
|
inline |
Return the name of the given layer of type Dropout as a string.
* | Given layer of type Dropout. |
|
inline |
Return the name of the given layer of type FlexibleReLU as a string.
* | Given layer of type FlexibleReLU. |
|
inline |
Return the name of the given layer of type LayerNorm as a string.
* | Given layer of type LayerNorm. |
|
inline |
Return the name of the given layer of type Linear as a string.
* | Given layer of type Linear. |
|
inline |
Return the name of the given layer of type LinearNoBias as a string.
* | Given layer of type LinearNoBias. |
|
inline |
Return the name of the given layer of type NoisyLinear as a string.
* | Given layer of type NoisyLinear. |
|
inline |
Return the name of the given layer of type MaxPooling as a string.
* | Given layer of type MaxPooling. |
|
inline |
Return the name of the given layer of type MeanPooling as a string.
* | Given layer of type MeanPooling. |
|
inline |
Return the name of the given layer of type LpPooling as a string.
* | Given layer of type LpPooling. |
|
inline |
Return the name of the given layer of type MultiplyConstant as a string.
* | Given layer of type MultiplyConstant. |
|
inline |
Return the name of the given layer of type ReLULayer as a string.
* | Given layer of type ReLULayer. |
|
inline |
Return the name of the given layer of type TransposedConvolution as a string.
* | Given layer of type TransposedConvolution. |
|
inline |
Return the name of the given layer of type IdentityLayer as a string.
* | Given layer of type IdentityLayer. |
|
inline |
Return the name of the given layer of type TanHLayer as a string.
* | Given layer of type TanHLayer. |
|
inline |
Return the name of the given layer of type ELU as a string.
* | Given layer of type ELU. |
|
inline |
Return the name of the given layer of type HardTanH as a string.
* | Given layer of type HardTanH. |
|
inline |
Return the name of the given layer of type LeakyReLU as a string.
* | Given layer of type LeakyReLU. |
|
inline |
Return the name of the given layer of type PReLU as a string.
* | Given layer of type PReLU. |
|
inline |
Return the name of the given layer of type SigmoidLayer as a string.
* | Given layer of type SigmoidLayer. |
|
inline |
Return the name of the given layer of type LogSoftMax as a string.
* | Given layer of type LogSoftMax. |
|
inline |
Return the name of the given layer of type CReLU as a string.
* | Given layer of type CReLU. |
|
inline |
Return the name of the given layer of type Highway as a string.
* | Given layer of type Highway. |
|
inline |
Return the name of the given layer of type GRU as a string.
* | Given layer of type GRU. |
|
inline |
Return the name of the given layer of type Glimpse as a string.
* | Given layer of type Glimpse. |
|
inline |
Return the name of the given layer of type FastLSTM as a string.
* | Given layer of type FastLSTM. |
|
inline |
Return the name of the given layer of type WeightNorm as a string.
* | Given layer of type WeightNorm. |
|
inline |
Return the name of the layer of specified type as a string.
* | Given layer of any type. |