Home
last modified time | relevance | path

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

/third_party/boost/boost/core/
Dlightweight_test.hpp319 typename std::iterator_traits<InputIterator2>::difference_type second_index = 0; in test_all_eq_impl() local
329 ++second_index; in test_all_eq_impl()
348 ++second_index; in test_all_eq_impl()
353 second_index += std::distance(second_it, second_end); in test_all_eq_impl()
354 if (first_index != second_index) in test_all_eq_impl()
358 …fer in function '" << function << "': size(" << first_index << ") != size(" << second_index << ")"; in test_all_eq_impl()
362 output << " [*] size(" << first_index << ") != size(" << second_index << ")"; in test_all_eq_impl()
390 typename std::iterator_traits<InputIterator2>::difference_type second_index = 0; in test_all_with_impl() local
400 ++second_index; in test_all_with_impl()
419 ++second_index; in test_all_with_impl()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/
Dyuv_scaler_para_set.cc98 ss >> yuv_scaler_paraset->scale[cnt].taps_6[index->second_index++]; in GetParaSet()
100 index->second_index = index->second_index - 1; in GetParaSet()
105 if (index->second_index == kScalerCoffNb6) { // read finish. in GetParaSet()
106 index->second_index = 0; in GetParaSet()
Dyuv_scaler_para_set.h33 uint32_t second_index; member
35 ScalerCoefficientIndex() : first_index(0), second_index() {} in ScalerCoefficientIndex()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dmixup_batch_op.cc60 std::vector<int64_t> second_index = label_shape.size() == kMaxLabelShapeSize in ComputeLabels()
66 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabels()
71 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabels()
Dcutmix_batch_op.cc163 std::vector<int64_t> second_index = in ComputeLabel()
168 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabel()
174 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabel()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_generator.cc399 auto const &second_index = first_index[position.second]; in GetTensorName() local
400 if (second_index.count(kJsonKeyTensorName) == 0) { in GetTensorName()
401 …MS_LOG(ERROR) << "Node [" << second_index.dump() << "] has no key [" << kJsonKeyTensorName << "]."; in GetTensorName()
405 return second_index[kJsonKeyTensorName]; in GetTensorName()
431 nlohmann::json *second_index = &((*first_index)[position.second]); in SetTensorName() local
432 if (second_index->count(kJsonKeyTensorName) == 0) { in SetTensorName()
433 …MS_LOG(ERROR) << "Node [" << second_index->dump() << "] has no key [" << kJsonKeyTensorName << "].… in SetTensorName()
436 (*second_index)[kJsonKeyTensorName] = new_name; in SetTensorName()