HomeSort by relevance Sort by last modified time
    Searched refs:reduction_axis (Results 1 - 2 of 2) sorted by null

  /external/eigen/unsupported/test/
cxx11_tensor_reduction.cpp 22 array<ptrdiff_t, 0> reduction_axis; local
24 Tensor<float, 0, DataLayout> result = tensor.sum(reduction_axis);
31 array<ptrdiff_t, 0> reduction_axis; local
33 Tensor<float, 1, DataLayout> result = tensor.sum(reduction_axis);
43 array<ptrdiff_t, 0> reduction_axis; local
45 Tensor<float, 2, DataLayout> result = tensor.sum(reduction_axis);
273 array<ptrdiff_t, 2> reduction_axis; local
274 reduction_axis[0] = 0;
275 reduction_axis[1] = 1;
277 Tensor<float, 0, DataLayout> result = tensor.sum(reduction_axis);
315 array<ptrdiff_t, 1> reduction_axis; local
341 array<ptrdiff_t, 2> reduction_axis; local
372 array<int, 2> reduction_axis; local
376 Eigen::IndexList<Eigen::type2index<1>, Eigen::type2index<3> > reduction_axis; local
402 array<int, 2> reduction_axis; local
407 Eigen::IndexList<Eigen::type2index<0>, Eigen::type2index<1> > reduction_axis; local
433 array<int, 2> reduction_axis; local
438 Eigen::IndexList<Eigen::type2index<2>, Eigen::type2index<3>> reduction_axis; local
464 array<int, 2> reduction_axis; local
469 Eigen::IndexList<Eigen::type2index<1>, Eigen::type2index<2>> reduction_axis; local
    [all...]
cxx11_tensor_index_list.cpp 21 constexpr auto reduction_axis = make_index_list(0, 1, 2); local
22 VERIFY_IS_EQUAL(internal::array_get<0>(reduction_axis), 0);
23 VERIFY_IS_EQUAL(internal::array_get<1>(reduction_axis), 1);
24 VERIFY_IS_EQUAL(internal::array_get<2>(reduction_axis), 2);
25 VERIFY_IS_EQUAL(static_cast<DenseIndex>(reduction_axis[0]), 0);
26 VERIFY_IS_EQUAL(static_cast<DenseIndex>(reduction_axis[1]), 1);
27 VERIFY_IS_EQUAL(static_cast<DenseIndex>(reduction_axis[2]), 2);
29 EIGEN_STATIC_ASSERT((internal::array_get<0>(reduction_axis) == 0), YOU_MADE_A_PROGRAMMING_MISTAKE);
30 EIGEN_STATIC_ASSERT((internal::array_get<1>(reduction_axis) == 1), YOU_MADE_A_PROGRAMMING_MISTAKE);
31 EIGEN_STATIC_ASSERT((internal::array_get<2>(reduction_axis) == 2), YOU_MADE_A_PROGRAMMING_MISTAKE)
276 auto reduction_axis = make_index_list(dim1, dim2, dim3); local
307 auto reduction_axis = make_index_list(0, dim2, 2, dim4); local
    [all...]

Completed in 95 milliseconds