/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorDimensions.h | 398 template <typename Dims1, typename Dims2, size_t n, size_t m> 400 static EIGEN_DEVICE_FUNC inline bool run(Dims1&, Dims2&) { 404 template <typename Dims1, typename Dims2, size_t n> 405 struct sizes_match_below_dim<Dims1, Dims2, n, n> { 406 static EIGEN_DEVICE_FUNC inline bool run(Dims1& dims1, Dims2& dims2) { 407 return (array_get<n-1>(dims1) == array_get<n-1>(dims2)) & 408 sizes_match_below_dim<Dims1, Dims2, n-1, n-1>::run(dims1, dims2); 411 template <typename Dims1, typename Dims2> [all...] |
/external/opencv/cvaux/src/ |
camshift.cpp | 254 int dims2[CV_MAX_DIM]; local 255 int c_dims2 = cvGetDims( m_hist->bins, dims2 ); 257 if( c_dims2 == c_dims && memcmp( dims, dims2, c_dims*sizeof(dims[0])) == 0 )
|
/external/eigen/unsupported/test/ |
cxx11_tensor_index_list.cpp | 56 typedef Eigen::IndexList<Eigen::type2index<0>, Eigen::type2index<1>, Eigen::type2index<2>> Dims2; 63 EIGEN_STATIC_ASSERT((internal::indices_statically_known_to_increase<Dims2>() == true), YOU_MADE_A_PROGRAMMING_MISTAKE); 70 EIGEN_STATIC_ASSERT((internal::are_inner_most_dims<Dims2, 3, ColMajor>::value == true), YOU_MADE_A_PROGRAMMING_MISTAKE); 76 EIGEN_STATIC_ASSERT((internal::are_inner_most_dims<Dims2, 3, RowMajor>::value == true), YOU_MADE_A_PROGRAMMING_MISTAKE); 112 const Dims2 reduction_axis2;
|
cxx11_tensor_contraction.cpp | 145 Eigen::array<DimPair, 2> dims2({{DimPair(0, 1), DimPair(1, 0)}}); 146 typedef TensorEvaluator<decltype(mat4.contract(mat5, dims2)), DefaultDevice> Evaluator2; 147 Evaluator2 eval2(mat4.contract(mat5, dims2), DefaultDevice()); 297 Eigen::array<DimPair, 2> dims2 = {{DimPair(0, 2), DimPair(2, 0)}}; local 298 mat3 = mat1.contract(mat2, dims2); 330 Eigen::array<DimPair, 2> dims2 = {{DimPair(4, 0), DimPair(0, 1)}}; local 333 mat4 = mat2.contract(mat1, dims2);
|
/external/opencv/cv/src/ |
cvhistogram.cpp | 409 int i, dims1, dims2; local 420 CV_CALL( dims2 = cvGetDims( hist2->bins, size2 )); 422 if( dims1 != dims2 ) 659 int i, dims1, dims2; local 680 CV_CALL( dims2 = cvGetDims( dst->bins, size2 )); 682 if( dims1 == dims2 ) [all...] |