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

@@ -14,9 +14,8 @@
using Eigen::Tensor;
template <int DataLayout, typename Type=float, bool Exclusive = false>
static void test_1d_scan()
{
template <int DataLayout, typename Type = float, bool Exclusive = false>
static void test_1d_scan() {
int size = 50;
Tensor<Type, 1, DataLayout> tensor(size);
tensor.setRandom();
@@ -48,9 +47,8 @@ static void test_1d_scan()
}
}
template <int DataLayout, typename Type=float>
static void test_4d_scan()
{
template <int DataLayout, typename Type = float>
static void test_4d_scan() {
int size = 5;
Tensor<Type, 4, DataLayout> tensor(size, size, size, size);
tensor.setRandom();