Implementation of a class that returns the string representation of the name of the given layer. More...
Public Member Functions | |
LayerNameVisitor () | |
Create the LayerNameVisitor object. More... | |
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. More... | |
template < typename LayerType > | |
std::string | operator() (LayerType *layer) const |
Overload function call. More... | |
Implementation of a class that returns the string representation of the name of the given layer.
Definition at line 25 of file layer_names.hpp.
|
inline |
Create the LayerNameVisitor object.
Definition at line 29 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type AdaptiveMaxPooling as string.
* | Given layer of type AdaptiveMaxPooling. |
Definition at line 39 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type AdaptiveMeanPooling as string.
* | Given layer of type AdaptiveMeanPooling. |
Definition at line 50 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type AtrousConvolution as a string.
* | Given layer of type AtrousConvolution. |
Definition at line 61 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type AlphaDropout as a string.
* | Given layer of type AlphaDropout. |
Definition at line 72 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type BatchNorm as a string.
* | Given layer of type BatchNorm. |
Definition at line 83 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type Constant as a string.
* | Given layer of type Constant. |
Definition at line 94 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type Convolution as a string.
* | Given layer of type Convolution. |
Definition at line 105 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type DropConnect as a string.
* | Given layer of type DropConnect. |
Definition at line 116 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type Dropout as a string.
* | Given layer of type Dropout. |
Definition at line 127 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type FlexibleReLU as a string.
* | Given layer of type FlexibleReLU. |
Definition at line 138 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type LayerNorm as a string.
* | Given layer of type LayerNorm. |
Definition at line 149 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type Linear as a string.
* | Given layer of type Linear. |
Definition at line 160 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type LinearNoBias as a string.
* | Given layer of type LinearNoBias. |
Definition at line 171 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type NoisyLinear as a string.
* | Given layer of type NoisyLinear. |
Definition at line 182 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type MaxPooling as a string.
* | Given layer of type MaxPooling. |
Definition at line 193 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type MeanPooling as a string.
* | Given layer of type MeanPooling. |
Definition at line 204 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type LpPooling as a string.
* | Given layer of type LpPooling. |
Definition at line 215 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type MultiplyConstant as a string.
* | Given layer of type MultiplyConstant. |
Definition at line 226 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type ReLULayer as a string.
* | Given layer of type ReLULayer. |
Definition at line 237 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type TransposedConvolution as a string.
* | Given layer of type TransposedConvolution. |
Definition at line 249 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type IdentityLayer as a string.
* | Given layer of type IdentityLayer. |
Definition at line 260 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type TanHLayer as a string.
* | Given layer of type TanHLayer. |
Definition at line 271 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type ELU as a string.
* | Given layer of type ELU. |
Definition at line 282 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type HardTanH as a string.
* | Given layer of type HardTanH. |
Definition at line 293 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type LeakyReLU as a string.
* | Given layer of type LeakyReLU. |
Definition at line 304 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type PReLU as a string.
* | Given layer of type PReLU. |
Definition at line 315 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type SigmoidLayer as a string.
* | Given layer of type SigmoidLayer. |
Definition at line 326 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type LogSoftMax as a string.
* | Given layer of type LogSoftMax. |
Definition at line 337 of file layer_names.hpp.
|
inline |
Definition at line 348 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type CReLU as a string.
* | Given layer of type CReLU. |
Definition at line 359 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type Highway as a string.
* | Given layer of type Highway. |
Definition at line 370 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type GRU as a string.
* | Given layer of type GRU. |
Definition at line 381 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type Glimpse as a string.
* | Given layer of type Glimpse. |
Definition at line 392 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type FastLSTM as a string.
* | Given layer of type FastLSTM. |
Definition at line 403 of file layer_names.hpp.
|
inline |
Return the name of the given layer of type WeightNorm as a string.
* | Given layer of type WeightNorm. |
Definition at line 414 of file layer_names.hpp.
|
inline |
Return the name of the layer of specified type as a string.
* | Given layer of any type. |
Definition at line 426 of file layer_names.hpp.
|
inline |
Overload function call.
Definition at line 432 of file layer_names.hpp.
|
inline |
Overload function call.
Definition at line 439 of file layer_names.hpp.