Clang-format tests, examples, libraries, benchmarks, etc.

This commit is contained in:
Antonio Sánchez
2023-12-05 21:22:55 +00:00
committed by Rasmus Munk Larsen
parent 3252ecc7a4
commit 46e9cdb7fe
876 changed files with 33453 additions and 37795 deletions

View File

@@ -11,11 +11,10 @@
#include <Eigen/CXX11/Tensor>
using Eigen::Tensor;
using Eigen::RowMajor;
using Eigen::Tensor;
static void test_tanh()
{
static void test_tanh() {
Tensor<float, 1> vec1(6);
vec1.setRandom();
@@ -26,8 +25,7 @@ static void test_tanh()
}
}
static void test_sigmoid()
{
static void test_sigmoid() {
Tensor<float, 1> vec1(6);
vec1.setRandom();
@@ -38,9 +36,7 @@ static void test_sigmoid()
}
}
EIGEN_DECLARE_TEST(cxx11_tensor_math)
{
EIGEN_DECLARE_TEST(cxx11_tensor_math) {
CALL_SUBTEST(test_tanh());
CALL_SUBTEST(test_sigmoid());
}