55 static const std::unordered_map<Type, std::string> name_map{
56 {ElementwiseActivationType::ELU,
"ELU"},
57 {ElementwiseActivationType::LOGISTIC,
"Logistic"},
58 {ElementwiseActivationType::RELU,
"ReLU"},
59 {ElementwiseActivationType::TANH,
"Tanh"},
60 {ElementwiseActivationType::LEAKY_RELU,
"LeakyRelu"},
61 {ElementwiseActivationType::GELU,
"GELU"}};
62 return name_map.at(_param.
op_type);