Home
last modified time | relevance | path

Searched refs:no_stride (Results 1 – 2 of 2) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_inflation.cpp28 Tensor<float, 4, DataLayout> no_stride; in test_simple_inflation() local
29 no_stride = tensor.inflate(strides); in test_simple_inflation()
31 VERIFY_IS_EQUAL(no_stride.dimension(0), 2); in test_simple_inflation()
32 VERIFY_IS_EQUAL(no_stride.dimension(1), 3); in test_simple_inflation()
33 VERIFY_IS_EQUAL(no_stride.dimension(2), 5); in test_simple_inflation()
34 VERIFY_IS_EQUAL(no_stride.dimension(3), 7); in test_simple_inflation()
40 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_stride(i,j,k,l)); in test_simple_inflation()
Dcxx11_tensor_striding.cpp27 Tensor<float, 4, DataLayout> no_stride; in test_simple_striding() local
28 no_stride = tensor.stride(strides); in test_simple_striding()
30 VERIFY_IS_EQUAL(no_stride.dimension(0), 2); in test_simple_striding()
31 VERIFY_IS_EQUAL(no_stride.dimension(1), 3); in test_simple_striding()
32 VERIFY_IS_EQUAL(no_stride.dimension(2), 5); in test_simple_striding()
33 VERIFY_IS_EQUAL(no_stride.dimension(3), 7); in test_simple_striding()
39 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_stride(i,j,k,l)); in test_simple_striding()