Update src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
co-authored by
Ryan Curtin
parent
5086cb3e56
commit
f79da27deb
@@ -70,8 +70,7 @@ class SVDConvolution
|
||||
|
||||
// Rank approximation using the singular values calculated with singular
|
||||
// value decomposition of dense filter matrix.
|
||||
const size_t rank = sum(s > (s.n_elem * arma::max(s) *
|
||||
arma::datum::eps));
|
||||
const size_t rank = sum(s > (s.n_elem * arma::max(s) * arma::datum::eps));
|
||||
|
||||
// Test for separability based on the rank of the kernel and take
|
||||
// advantage of the low rank.
|
||||
|
||||
Reference in New Issue
Block a user