Searched refs:no_stride (Results 1 - 2 of 2) sorted by relevance
/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_inflation.cpp | 28 Tensor<float, 4, DataLayout> no_stride; local 29 no_stride = tensor.inflate(strides); 31 VERIFY_IS_EQUAL(no_stride.dimension(0), 2); 32 VERIFY_IS_EQUAL(no_stride.dimension(1), 3); 33 VERIFY_IS_EQUAL(no_stride.dimension(2), 5); 34 VERIFY_IS_EQUAL(no_stride.dimension(3), 7); 40 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_stride(i,j,k,l));
|
H A D | cxx11_tensor_striding.cpp | 27 Tensor<float, 4, DataLayout> no_stride; local 28 no_stride = tensor.stride(strides); 30 VERIFY_IS_EQUAL(no_stride.dimension(0), 2); 31 VERIFY_IS_EQUAL(no_stride.dimension(1), 3); 32 VERIFY_IS_EQUAL(no_stride.dimension(2), 5); 33 VERIFY_IS_EQUAL(no_stride.dimension(3), 7); 39 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_stride(i,j,k,l));
|
Completed in 906 milliseconds