diff --git a/NAM/convnet.h b/NAM/convnet.h index 458cf67..b1fa142 100644 --- a/NAM/convnet.h +++ b/NAM/convnet.h @@ -22,7 +22,7 @@ namespace convnet class BatchNorm { public: - BatchNorm() {}; + BatchNorm(){}; BatchNorm(const int dim, std::vector::iterator& weights); void process_(Eigen::MatrixXf& input, const long i_start, const long i_end) const; @@ -39,7 +39,7 @@ class BatchNorm class ConvNetBlock { public: - ConvNetBlock() {}; + ConvNetBlock(){}; void set_weights_(const int in_channels, const int out_channels, const int _dilation, const bool batchnorm, const std::string activation, std::vector::iterator& weights); void process_(const Eigen::MatrixXf& input, Eigen::MatrixXf& output, const long i_start, const long i_end) const; @@ -55,7 +55,7 @@ class ConvNetBlock class _Head { public: - _Head() {}; + _Head(){}; _Head(const int channels, std::vector::iterator& weights); void process_(const Eigen::MatrixXf& input, Eigen::VectorXf& output, const long i_start, const long i_end) const; diff --git a/NAM/get_dsp.h b/NAM/get_dsp.h index d414ca5..1d2c8d5 100644 --- a/NAM/get_dsp.h +++ b/NAM/get_dsp.h @@ -1,12 +1,13 @@ #include -namespace nam { - // Get NAM from a .nam file at the provided location - std::unique_ptr get_dsp(const std::filesystem::path config_filename); +namespace nam +{ +// Get NAM from a .nam file at the provided location +std::unique_ptr get_dsp(const std::filesystem::path config_filename); - // Get NAM from a provided configuration struct - std::unique_ptr get_dsp(dspData& conf); +// Get NAM from a provided configuration struct +std::unique_ptr get_dsp(dspData& conf); - // Get NAM from a provided .nam file path and store its configuration in the provided conf - std::unique_ptr get_dsp(const std::filesystem::path config_filename, dspData& returnedConfig); -}; // namespace nam +// Get NAM from a provided .nam file path and store its configuration in the provided conf +std::unique_ptr get_dsp(const std::filesystem::path config_filename, dspData& returnedConfig); +}; // namespace nam diff --git a/NAM/wavenet.h b/NAM/wavenet.h index ff64b32..a2ad2fc 100644 --- a/NAM/wavenet.h +++ b/NAM/wavenet.h @@ -29,7 +29,7 @@ class _Layer , _input_mixin(condition_size, gated ? 2 * channels : channels, false) , _1x1(channels, channels, true) , _activation(activations::Activation::get_activation(activation)) - , _gated(gated) {}; + , _gated(gated){}; void set_weights_(std::vector::iterator& weights); // :param `input`: from previous layer // :param `output`: to next layer