Home
last modified time | relevance | path

Searched refs:step_ (Results 1 – 25 of 42) sorted by relevance

12

/third_party/cef/tests/ceftests/
Ddraggable_regions_unittest.cc103 switch (step_) { in OnDraggableRegionsChanged()
152 if (step_ == kStepWithChangingRegions2) { in OnFrameAttached()
153 step_ = kStepWithChangingRegions3; in OnFrameAttached()
170 switch (step_) { in NextTest()
172 step_ = kStepWithChangingRegions; in NextTest()
176 step_ = kStepWithoutRegions; in NextTest()
180 step_ = kStepWithChangingRegions2; in NextTest()
185 step_ = kStepWithChangingRegions3; in NextTest()
189 step_ = kStepWithoutRegions2; in NextTest()
222 Step step_ = kStepWithRegions; member in __anon6fe895950111::DraggableRegionsTestHandler
Ddisplay_unittest.cc32 : step_(0), got_title_change_(false), got_loading_state_change_(false) {} in TitleTestHandler()
62 if (step_ == 0 || step_ == 2) { in OnTitleChange()
64 } else if (step_ == 1 || step_ == 3) { in OnTitleChange()
66 } else if (step_ == 4) { in OnTitleChange()
70 got_title_[step_].yes(); in OnTitleChange()
72 if (step_ == 4) { in OnTitleChange()
104 switch (step_++) { in NextIfReady()
129 int step_; member in __anone02c7fbc0111::TitleTestHandler
/third_party/mindspore/mindspore/lite/src/cxx_api/callback/
Dcallback_adapter.h41 …call_back_->Begin(TrainCallBackData(i_cb_data.train_mode_, i_cb_data.epoch_, i_cb_data.step_, mode… in Begin()
45 …call_back_->End(TrainCallBackData(i_cb_data.train_mode_, i_cb_data.epoch_, i_cb_data.step_, model_… in End()
49 …_->EpochBegin(TrainCallBackData(i_cb_data.train_mode_, i_cb_data.epoch_, i_cb_data.step_, model_)); in EpochBegin()
53 …ck_->EpochEnd(TrainCallBackData(i_cb_data.train_mode_, i_cb_data.epoch_, i_cb_data.step_, model_)); in EpochEnd()
57 …k_->StepBegin(TrainCallBackData(i_cb_data.train_mode_, i_cb_data.epoch_, i_cb_data.step_, model_)); in StepBegin()
61 …call_back_->StepEnd(TrainCallBackData(i_cb_data.train_mode_, i_cb_data.epoch_, i_cb_data.step_, mo… in StepEnd()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dembedding_hash_map.h34 size_t step_{INVALID_STEP_VALUE};
35 bool IsEmpty() const { return step_ == INVALID_STEP_VALUE; } in IsEmpty()
36 bool IsExpired(size_t graph_running_step) const { return graph_running_step > step_; } in IsExpired()
37 bool IsStep(size_t step) const { return step_ == step; } in IsStep()
39 void set_step(size_t step) { step_ = step; } in set_step()
64 size_t hash_step(const int hash_index) const { return hash_map_elements_[hash_index].step_; } in hash_step()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dmap_cache_idx_cpu_kernel.cc40 entry_p[entry].step_ = entry_p[i].step_; in Compress()
104 T *step_ = reinterpret_cast<T *>(inputs[2]->addr); in LaunchKernel() local
142 hashmap[tmp_entry].step_ = step_[0]; in LaunchKernel()
167 hashmap[entry].step_ = step_[0]; in LaunchKernel()
171 while (hashmap[tmp_entry].IsEmpty() || hashmap[tmp_entry].IsUsing(step_[0])) { in LaunchKernel()
190 step_[0] += 1; in LaunchKernel()
/third_party/mindspore/mindspore/lite/src/train/
Dloss_monitor.cc42 if (cb_data.step_ > 0) losses_.at(cb_data.epoch_).second /= static_cast<float>(cb_data.step_ + 1); in EpochEnd()
55 if ((cb_data.step_ + 1) % print_every_n_ == 0) in StepEnd()
56 …std::cout << (cb_data.epoch_ + 1) << "." << (cb_data.step_ + 1) << ":\tLoss is " << loss[0] << std… in StepEnd()
Dlr_scheduler.cc56 : lambda_func_(lambda_func), lr_data_(lr_cb_data), step_(step) {} in LRScheduler()
59 if (((cb_data.epoch_ + 1) % step_) == 0) { in EpochEnd()
Dclassification_train_accuracy_monitor.cc47 …if (cb_data.step_ > 0) accuracies_.at(cb_data.epoch_).second /= static_cast<float>(cb_data.step_ +… in EpochEnd()
/third_party/mindspore/mindspore/core/ir/
Ddtype.cc64 MS_EXCEPTION_IF_NULL(step_); in DeepCopy()
65 auto copy = std::make_shared<Slice>(start_->DeepCopy(), stop_->DeepCopy(), step_->DeepCopy()); in DeepCopy()
77 MS_EXCEPTION_IF_NULL(step_); in ToString()
81 buffer << step_->ToString(); in ToString()
92 …n (*start_ == *other_slice.start_ && *stop_ == *other_slice.stop_ && *step_ == *other_slice.step_); in operator ==()
Dvalue.cc214 MS_EXCEPTION_IF_NULL(step_); in hash()
215 return hash_combine({tid(), start_->hash(), stop_->hash(), step_->hash()}); in hash()
230 MS_EXCEPTION_IF_NULL(step_); in operator ==()
231 return (*start_ == *other.start_ && *stop_ == *other.stop_ && *step_ == *other.step_); in operator ==()
237 MS_EXCEPTION_IF_NULL(step_); in ToString()
242 buffer << step_->ToString(); in ToString()
/third_party/boost/boost/beast/core/impl/
Dbuffered_read_stream.hpp37 int step_ = 0; member in boost::beast::buffered_read_stream::ops::read_op
63 switch(step_) in operator ()()
71 step_ = 1; in operator ()()
76 step_ = 2; in operator ()()
82 step_ = 3; in operator ()()
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dbuffered_read_stream.hpp37 int step_ = 0; member in boost::beast::buffered_read_stream::ops::read_op
63 switch(step_) in operator ()()
71 step_ = 1; in operator ()()
76 step_ = 2; in operator ()()
82 step_ = 3; in operator ()()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dtransforms.h83 Slice() : start_(0), stop_(0), step_(0) {} in Slice()
88 Slice(dsize_t start, dsize_t stop, dsize_t step) : start_(start), stop_(stop), step_(step) {} in Slice()
92 Slice(dsize_t start, dsize_t stop) : start_(start), stop_(stop), step_(1) {} in Slice()
95 explicit Slice(dsize_t stop) : start_(0), stop_(stop), step_(1) {} in Slice()
100 bool valid() const { return step_ != 0; } in valid()
103 dsize_t step_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dtensor_helpers.cc41 dsize_t increment = slice_list[curr_ind].slice_.step_; in IndexGeneratorHelper()
45 i = i + slice_list[curr_ind].slice_.step_) { in IndexGeneratorHelper()
51 j = j + slice_list[curr_ind].slice_.step_) { in IndexGeneratorHelper()
/third_party/mindspore/mindspore/ccsrc/profiler/device/
Ddata_saver.h65 int step_{0};
77 if (step_ == 0) { in OutputCpuOpTypeInfo()
85 …os << op_type_ << ',' << count_ << ',' << count_ / step_ << ',' << total_time_ << ',' << total_tim… in OutputCpuOpTypeInfo()
/third_party/mindspore/mindspore/ccsrc/utils/
Dcache_embedding_hashmap_struct.h33 T step_; member
38 bool IsUsing(const T train_step) { return step_ >= (train_step - 1); } in IsUsing()
/third_party/mindspore/mindspore/lite/include/train/
Dlr_scheduler.h47 explicit LRScheduler(LR_Lambda lambda_func, void *lr_cb_data = nullptr, int step_ = 1);
54 int step_ = 1; variable
/third_party/mindspore/include/api/callback/
Dcallback.h33 step_(step), model_(model) {} in TrainCallBackData()
37 unsigned int step_ = 0; /**< the current step within the epoch */ member
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h209 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} in RangeGenerator()
213 return new Iterator(this, begin_, 0, step_); in Begin()
216 return new Iterator(this, end_, end_index_, step_); in End()
224 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
231 value_ = static_cast<T>(value_ + step_); in Advance()
253 step_(other.step_) {} in Iterator()
261 const IncrementT step_; variable
278 const IncrementT step_; variable
/third_party/boost/boost/mpl/
Dlower_bound.hpp107 typedef typename prior< minus< Distance, offset_> >::type step_;
109 typedef lower_bound_step< step_,Predicate,T,next<middle_> > step_backward_;
Dupper_bound.hpp106 typedef typename prior< minus< Distance, offset_ > >::type step_;
108 typedef upper_bound_step< step_,Predicate,T,next<middle_> > step_backward_;
/third_party/boost/boost/phoenix/statement/
Dfor.hpp59 for_gen(Init const& init_, Cond const& cond_, Step const& step_) in for_gen()
60 : init(init_), cond(cond_), step(step_) {} in for_gen()
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h211 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} in RangeGenerator()
215 return new Iterator(this, begin_, 0, step_); in Begin()
218 return new Iterator(this, end_, end_index_, step_); in End()
226 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
233 value_ = static_cast<T>(value_ + step_); in Advance()
255 step_(other.step_) {} in Iterator()
263 const IncrementT step_; variable
280 const IncrementT step_; variable
/third_party/iowow/src/utils/
Diwutils.h234 #define IW_READVNUMBUF(buf_, num_, step_) \ argument
248 (step_) = _i_ + 1; \
252 #define IW_READVNUMBUF64(buf_, num_, step_) \ argument
266 (step_) = _i_ + 1; \
/third_party/boost/boost/spirit/home/classic/phoenix/
Dstatements.hpp383 StepT const& step_, in for_composite()
385 : init(init_), cond(cond_), step(step_), do_(do__) {} in for_composite()
405 StepT const& step_) in for_gen()
406 : init(init_), cond(cond_), step(step_) {} in for_gen()

12