From 4fb0dd49659c5b08261cc56d0fb73114dc5bcc35 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Sun, 3 Apr 2022 14:36:36 -0400 Subject: [PATCH] Fix includes. --- src/mlpack/methods/ann/layer/alpha_dropout.hpp | 1 + src/mlpack/methods/ann/layer/base_layer.hpp | 1 + src/mlpack/methods/ann/layer/concatenate.hpp | 1 + src/mlpack/methods/ann/layer/convolution.hpp | 2 +- src/mlpack/methods/ann/layer/max_pooling.hpp | 2 ++ src/mlpack/methods/ann/layer/multi_layer.hpp | 1 + src/mlpack/methods/ann/layer/radial_basis_function.hpp | 2 +- src/mlpack/methods/ann/layer/recurrent_layer.hpp | 3 +++ 8 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mlpack/methods/ann/layer/alpha_dropout.hpp b/src/mlpack/methods/ann/layer/alpha_dropout.hpp index 947823db6e..57d3277372 100644 --- a/src/mlpack/methods/ann/layer/alpha_dropout.hpp +++ b/src/mlpack/methods/ann/layer/alpha_dropout.hpp @@ -17,6 +17,7 @@ #define MLPACK_METHODS_ANN_LAYER_ALPHA_DROPOUT_HPP #include +#include "layer.hpp" namespace mlpack { namespace ann /** Artificial Neural Network. */ { diff --git a/src/mlpack/methods/ann/layer/base_layer.hpp b/src/mlpack/methods/ann/layer/base_layer.hpp index 940068ad4b..4762ee0b59 100644 --- a/src/mlpack/methods/ann/layer/base_layer.hpp +++ b/src/mlpack/methods/ann/layer/base_layer.hpp @@ -30,6 +30,7 @@ #include #include #include +#include "layer.hpp" namespace mlpack { namespace ann /** Artificial Neural Network. */ { diff --git a/src/mlpack/methods/ann/layer/concatenate.hpp b/src/mlpack/methods/ann/layer/concatenate.hpp index 61e55a8111..e91144ff9d 100644 --- a/src/mlpack/methods/ann/layer/concatenate.hpp +++ b/src/mlpack/methods/ann/layer/concatenate.hpp @@ -14,6 +14,7 @@ #define MLPACK_METHODS_ANN_LAYER_CONCATENATE_HPP #include +#include "layer.hpp" namespace mlpack { namespace ann /** Artificial Neural Network. */ { diff --git a/src/mlpack/methods/ann/layer/convolution.hpp b/src/mlpack/methods/ann/layer/convolution.hpp index 7154bfdba3..c7328ac44a 100644 --- a/src/mlpack/methods/ann/layer/convolution.hpp +++ b/src/mlpack/methods/ann/layer/convolution.hpp @@ -20,7 +20,7 @@ #include #include -#include "layer_types.hpp" +#include "layer.hpp" #include "padding.hpp" namespace mlpack { diff --git a/src/mlpack/methods/ann/layer/max_pooling.hpp b/src/mlpack/methods/ann/layer/max_pooling.hpp index 75636d15be..a594f5724e 100644 --- a/src/mlpack/methods/ann/layer/max_pooling.hpp +++ b/src/mlpack/methods/ann/layer/max_pooling.hpp @@ -15,6 +15,8 @@ #include +#include "layer.hpp" + namespace mlpack { namespace ann /** Artificial Neural Network. */ { diff --git a/src/mlpack/methods/ann/layer/multi_layer.hpp b/src/mlpack/methods/ann/layer/multi_layer.hpp index 0dda071024..ade2cebc39 100644 --- a/src/mlpack/methods/ann/layer/multi_layer.hpp +++ b/src/mlpack/methods/ann/layer/multi_layer.hpp @@ -13,6 +13,7 @@ #define MLPACK_METHODS_ANN_LAYER_MULTI_LAYER_HPP #include "../make_alias.hpp" +#include "layer.hpp" namespace mlpack { namespace ann { diff --git a/src/mlpack/methods/ann/layer/radial_basis_function.hpp b/src/mlpack/methods/ann/layer/radial_basis_function.hpp index f1ec3379f1..1172324194 100644 --- a/src/mlpack/methods/ann/layer/radial_basis_function.hpp +++ b/src/mlpack/methods/ann/layer/radial_basis_function.hpp @@ -16,7 +16,7 @@ #include #include -#include "layer_types.hpp" +#include "layer.hpp" namespace mlpack { namespace ann /** Artificial Neural Network. */ { diff --git a/src/mlpack/methods/ann/layer/recurrent_layer.hpp b/src/mlpack/methods/ann/layer/recurrent_layer.hpp index 24222f4670..118bb2385e 100644 --- a/src/mlpack/methods/ann/layer/recurrent_layer.hpp +++ b/src/mlpack/methods/ann/layer/recurrent_layer.hpp @@ -12,6 +12,9 @@ #ifndef MLPACK_METHODS_ANN_LAYER_RECURRENT_LAYER_HPP #define MLPACK_METHODS_ANN_LAYER_RECURRENT_LAYER_HPP +#include +#include "layer.hpp" + namespace mlpack { namespace ann {