12 #ifndef MLPACK_METHODS_ANN_INIT_RULES_ORTHOGONAL_INIT_HPP
13 #define MLPACK_METHODS_ANN_INIT_RULES_ORTHOGONAL_INIT_HPP
43 void Initialize(arma::Mat<eT>& W,
const size_t rows,
const size_t cols)
48 arma::svd_econ(W, s, V, arma::randu<arma::Mat<eT> >(rows, cols));
67 W = arma::Cube<eT>(rows, cols, slices);
69 for (
size_t i = 0; i < slices; i++)