Home
last modified time | relevance | path

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

/external/eigen/unsupported/test/
Dcxx11_tensor_chipping.cpp40 Tensor<float, 4, DataLayout> chip2 = tensor.template chip<1>(1); in test_simple_chip() local
41 VERIFY_IS_EQUAL(chip2.dimension(0), 2); in test_simple_chip()
42 VERIFY_IS_EQUAL(chip2.dimension(1), 5); in test_simple_chip()
43 VERIFY_IS_EQUAL(chip2.dimension(2), 7); in test_simple_chip()
44 VERIFY_IS_EQUAL(chip2.dimension(3), 11); in test_simple_chip()
49 VERIFY_IS_EQUAL(chip2(i,j,k,l), tensor(i,1,j,k,l)); in test_simple_chip()
123 Tensor<float, 4, DataLayout> chip2 = tensor.chip(1, 1); in test_dynamic_chip() local
124 VERIFY_IS_EQUAL(chip2.dimension(0), 2); in test_dynamic_chip()
125 VERIFY_IS_EQUAL(chip2.dimension(1), 5); in test_dynamic_chip()
126 VERIFY_IS_EQUAL(chip2.dimension(2), 7); in test_dynamic_chip()
[all …]