diff --git a/src/mlpack/methods/ann/layer/layer_types.hpp b/src/mlpack/methods/ann/layer/layer_types.hpp index d097c8a4ec..33e4bb6991 100644 --- a/src/mlpack/methods/ann/layer/layer_types.hpp +++ b/src/mlpack/methods/ann/layer/layer_types.hpp @@ -164,6 +164,15 @@ template*, + RecurrentAttention*, + ReinforceNormal*, + Reparametrization*, + Select*, + Sequential*, + Sequential*, + Subview*, + VRClassReward*, VirtualBatchNorm* >; @@ -218,17 +227,6 @@ using LayerTypes = boost::variant< MultiplyMerge*, NegativeLogLikelihood*, PReLU*, - Recurrent*, - // TODO find workaround to support more than 50 types - // as boost::variant can only be used for up to 50 types. - // RecurrentAttention*, - ReinforceNormal*, - Reparametrization*, - Select*, - Sequential*, - Sequential*, - Subview*, - // VRClassReward*, MoreTypes, CustomLayers*... >;