Home
last modified time | relevance | path

Searched refs:replacement_ (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/sampler/
Dweighted_random_sampler.cc32 …: SamplerRT(num_samples, samples_per_tensor), weights_(weights), replacement_(replacement), sample… in WeightedRandomSamplerRT()
58 if (!replacement_ && (weights_.size() < static_cast<size_t>(num_samples_))) { in InitSampler()
70 if (!replacement_) { in InitSampler()
101 if (!replacement_) { in ResetSampler()
123 if (!replacement_ && (weights_.size() < static_cast<size_t>(num_samples_))) { in GetNextSample()
153 if (replacement_) { in GetNextSample()
195 args["replacement"] = replacement_; in to_json()
Drandom_sampler.cc28 replacement_(replacement), in RandomSamplerRT()
51 if (replacement_) { in GetNextSample()
85 if (!replacement_) { in InitSampler()
109 if (!replacement_ && reshuffle_each_epoch_) { in ResetSampler()
133 args["replacement"] = replacement_; in to_json()
Drandom_sampler.h62 bool replacement_; variable
Dweighted_random_sampler.h71 bool replacement_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/samplers/
Drandom_sampler_ir.cc35 …: replacement_(replacement), num_samples_(num_samples), reshuffle_each_epoch_(reshuffle_each_epoch… in RandomSamplerObj()
52 args["replacement"] = replacement_; in to_json()
75 …*sampler = std::make_shared<dataset::RandomSamplerRT>(replacement_, num_samples_, reshuffle_each_e… in SamplerBuild()
85 …std::make_shared<mindrecord::ShardShuffle>(GetSeed(), num_samples_, replacement_, reshuffle_each_e… in BuildForMindDataset()
92 …auto sampler = std::make_shared<RandomSamplerObj>(replacement_, num_samples_, reshuffle_each_epoch… in SamplerCopy()
Dweighted_random_sampler_ir.cc26 : weights_(std::move(weights)), num_samples_(num_samples), replacement_(replacement) {} in WeightedRandomSamplerObj()
60 args["replacement"] = replacement_; in to_json()
81 …sampler = std::make_shared<dataset::WeightedRandomSamplerRT>(weights_, num_samples_, replacement_); in SamplerBuild()
87 auto sampler = std::make_shared<WeightedRandomSamplerObj>(weights_, num_samples_, replacement_); in SamplerCopy()
Dweighted_random_sampler_ir.h68 bool replacement_; variable
Drandom_sampler_ir.h70 bool replacement_;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dsamplers.cc57 : replacement_(replacement), num_samples_(num_samples) {} in RandomSampler()
60 return std::make_shared<RandomSamplerObj>(replacement_, num_samples_); in Parse()
89 : weights_(weights), num_samples_(num_samples), replacement_(replacement) {} in WeightedRandomSampler()
92 return std::make_shared<WeightedRandomSamplerObj>(weights_, num_samples_, replacement_); in Parse()
/third_party/grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc65 gpr_atm_rel_store(&old_throttle_data->replacement_, in ServerRetryThrottleData()
73 gpr_atm_acq_load(&replacement_)); in ~ServerRetryThrottleData()
84 gpr_atm_acq_load(&(*throttle_data)->replacement_)); in GetReplacementThrottleDataIfNeeded()
Dretry_throttle.h58 gpr_atm replacement_ = 0; variable
Dclient_channel.cc1453 if (watcher_ == nullptr) watcher = replacement_->watcher_.get(); in interested_parties()
1460 replacement_ = replacement; in MakeReplacement()
1517 WatcherWrapper* replacement_ = nullptr; member in grpc_core::__anon6b4c07050111::ChannelData::SubchannelWrapper::WatcherWrapper
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_category.cc27 replacement_(replacement) {} in ShardCategory()
35 replacement_(replacement) {}
Dshard_shuffle.cc26 replacement_(false), in ShardShuffle()
34 replacement_(replacement), in ShardShuffle()
39 if (replacement_) { in GetNumSamples()
169 if (replacement_ == true) { in Execute()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_category.h47 bool GetReplacement() const { return replacement_; } in GetReplacement()
58 bool replacement_; variable
Dshard_shuffle.h50 bool replacement_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dsamplers.h156 bool replacement_;
251 bool replacement_; variable
/third_party/chromium/patch/
D0001-cve.patch150866 replacement_ = replacement;