mlpack  3.4.2
maximal_inputs.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_METHODS_NN_MAXIMAL_INPUTS_HPP
13 #define MLPACK_METHODS_NN_MAXIMAL_INPUTS_HPP
14 
15 #include <mlpack/prereqs.hpp>
16 
17 namespace mlpack {
18 namespace nn {
19 
82 void MaximalInputs(const arma::mat& parameters, arma::mat& output);
83 
91 void NormalizeColByMax(const arma::mat& input, arma::mat& output);
92 
93 } // namespace nn
94 } // namespace mlpack
95 
96 #endif
void MaximalInputs(const arma::mat &parameters, arma::mat &output)
Given a parameters matrix from an autoencoder, maximize the hidden units of the parameters,...
void NormalizeColByMax(const arma::mat &input, arma::mat &output)
Normalize each column of the input matrix by its maximum value, if that maximum value is not zero.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.