Searched refs:chip3 (Results 1 – 2 of 2) sorted by relevance
/external/eigen/unsupported/test/ |
D | cxx11_tensor_chipping.cpp | 55 Tensor<float, 4, DataLayout> chip3 = tensor.template chip<2>(2); in test_simple_chip() local 56 VERIFY_IS_EQUAL(chip3.dimension(0), 2); in test_simple_chip() 57 VERIFY_IS_EQUAL(chip3.dimension(1), 3); in test_simple_chip() 58 VERIFY_IS_EQUAL(chip3.dimension(2), 7); in test_simple_chip() 59 VERIFY_IS_EQUAL(chip3.dimension(3), 11); in test_simple_chip() 64 VERIFY_IS_EQUAL(chip3(i,j,k,l), tensor(i,j,2,k,l)); in test_simple_chip() 138 Tensor<float, 4, DataLayout> chip3 = tensor.chip(2, 2); in test_dynamic_chip() local 139 VERIFY_IS_EQUAL(chip3.dimension(0), 2); in test_dynamic_chip() 140 VERIFY_IS_EQUAL(chip3.dimension(1), 3); in test_dynamic_chip() 141 VERIFY_IS_EQUAL(chip3.dimension(2), 7); in test_dynamic_chip() [all …]
|
D | cxx11_tensor_chipping_sycl.cpp | 97 Tensor<DataType, 4, DataLayout,IndexType> chip3(chip3TensorRange); in test_static_chip_sycl() local 98 const size_t chip3TensorBuffSize =chip3.size()*sizeof(DataType); in test_static_chip_sycl() 103 sycl_device.memcpyDeviceToHost(chip3.data(), gpu_data_chip3, chip3TensorBuffSize); in test_static_chip_sycl() 105 VERIFY_IS_EQUAL(chip3.dimension(0), sizeDim1); in test_static_chip_sycl() 106 VERIFY_IS_EQUAL(chip3.dimension(1), sizeDim2); in test_static_chip_sycl() 107 VERIFY_IS_EQUAL(chip3.dimension(2), sizeDim4); in test_static_chip_sycl() 108 VERIFY_IS_EQUAL(chip3.dimension(3), sizeDim5); in test_static_chip_sycl() 114 VERIFY_IS_EQUAL(chip3(i,j,k,l), tensor(i,j,2l,k,l)); in test_static_chip_sycl() 246 Tensor<DataType, 4, DataLayout,IndexType> chip3(chip3TensorRange); in test_dynamic_chip_sycl() local 247 const size_t chip3TensorBuffSize =chip3.size()*sizeof(DataType); in test_dynamic_chip_sycl() [all …]
|