Optimazation is done
This commit is contained in:
@@ -96,7 +96,7 @@ bool spiral_data(const panic::types::uint_t samples, const panic::types::uint_t
|
||||
}
|
||||
|
||||
panic::tensor::matrix<T> random_matrix(samples*classes, 2);
|
||||
panic::random::uniform(random_matrix, T{-0.15}, T{0.15});
|
||||
panic::random::uniform(random_matrix, T{-0.0015}, T{0.0015});
|
||||
|
||||
if (!panic::math::add(X, random_matrix, X)){
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user