/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/sampler/ |
D | subset_sampler.cc | 70 int64_t last_id = sample_id_ + samples_per_tensor_; in GetNextSample() local 72 if (last_id > num_samples_) { in GetNextSample() 73 last_id = num_samples_; in GetNextSample() 77 RETURN_IF_NOT_OK(CreateSamplerTensor(&outputIds, last_id - sample_id_)); in GetNextSample() 81 while (sample_id_ < last_id) { in GetNextSample()
|
D | mind_record_sampler.cc | 34 int64_t last_id = std::min(samples_per_tensor_ + next_id_, num_samples_); in GetNextSample() local 35 RETURN_IF_NOT_OK(CreateSamplerTensor(&sampleIdsTensor, last_id - next_id_)); in GetNextSample() 37 for (int64_t i = 0; i < (last_id - next_id_); i++) { in GetNextSample() 40 next_id_ = last_id; in GetNextSample()
|
D | weighted_random_sampler.cc | 139 int64_t last_id = sample_id_ + samples_per_tensor_; in GetNextSample() local 141 if (last_id > num_samples_) { in GetNextSample() 142 last_id = num_samples_; in GetNextSample() 146 RETURN_IF_NOT_OK(CreateSamplerTensor(&outputIds, last_id - sample_id_)); in GetNextSample() 151 while (sample_id_ < last_id) { in GetNextSample()
|
D | random_sampler.cc | 45 int64_t last_id = std::min(samples_per_tensor_ + next_id_, num_samples_); in GetNextSample() local 46 RETURN_IF_NOT_OK(CreateSamplerTensor(&sampleIds, last_id - next_id_)); in GetNextSample() 49 for (int64_t i = 0; i < (last_id - next_id_); i++) { in GetNextSample() 63 next_id_ = last_id; in GetNextSample()
|
D | pk_sampler.cc | 84 …int64_t last_id = (samples_per_tensor_ + next_id_ > num_samples_) ? num_samples_ : samples_per_ten… in GetNextSample() local 85 RETURN_IF_NOT_OK(CreateSamplerTensor(&sample_ids, last_id - next_id_)); in GetNextSample() 88 while (next_id_ < last_id && id_ptr != sample_ids->end<int64_t>()) { in GetNextSample()
|
/third_party/mindspore/mindspore/core/ir/ |
D | primitive.cc | 25 static std::atomic<uint64_t> last_id{1}; in MakeId() local 26 return last_id.fetch_add(1, std::memory_order_relaxed); in MakeId()
|
D | tensor.cc | 47 static std::atomic<uint64_t> last_id{1}; in MakeId() local 48 return "T" + std::to_string(last_id.fetch_add(1, std::memory_order_relaxed)); in MakeId()
|
/third_party/mindspore/mindspore/lite/src/train/ |
D | train_export.cc | 265 std::unique_ptr<schema::TensorT> TrainExport::CreateTransformConst(size_t last_id) { in CreateTransformConst() argument 275 tensorT->name = "const-" + std::to_string(last_id); in CreateTransformConst() 303 size_t last_id = meta_graph_->allTensors.size(); in AddTransformNode() local 306 auto tensorConst = CreateTransformConst(last_id); in AddTransformNode() 324 … std::vector<uint32_t> in_idx = {static_cast<uint32_t>(it.second), static_cast<uint32_t>(last_id)}; in AddTransformNode() 325 std::vector<uint32_t> out_idx = {static_cast<uint32_t>(last_id + 1)}; in AddTransformNode() 326 reconnect[it.first] = last_id + 1; in AddTransformNode()
|
D | train_export.h | 74 std::unique_ptr<schema::TensorT> CreateTransformConst(size_t last_id);
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_limits_test.cpp | 614 int last_id = 14; in GenerateSpirvProgramWithCfgNestingDepth() local 625 for (int i = largest_index+1; i > last_id; i = i - 2) { in GenerateSpirvProgramWithCfgNestingDepth() 629 spirv << "%" << last_id << " = OpLabel" << "\n"; in GenerateSpirvProgramWithCfgNestingDepth()
|
/third_party/ffmpeg/libavformat/ |
D | subtitles.c | 176 const int last_id = i - 1 - drop; in drop_dups() local 177 const AVPacket *last = q->subs[last_id]; in drop_dups() 187 q->subs[last_id + 1] = q->subs[i]; in drop_dups()
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
D | val_limits_test.cpp | 692 int last_id = 14; in GenerateSpirvProgramWithCfgNestingDepth() local 703 for (int i = largest_index+1; i > last_id; i = i - 2) { in GenerateSpirvProgramWithCfgNestingDepth() 707 spirv << "%" << last_id << " = OpLabel" << "\n"; in GenerateSpirvProgramWithCfgNestingDepth()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_limits_test.cpp | 692 int last_id = 14; in GenerateSpirvProgramWithCfgNestingDepth() local 703 for (int i = largest_index+1; i > last_id; i = i - 2) { in GenerateSpirvProgramWithCfgNestingDepth() 707 spirv << "%" << last_id << " = OpLabel" << "\n"; in GenerateSpirvProgramWithCfgNestingDepth()
|
/third_party/spirv-tools/test/val/ |
D | val_limits_test.cpp | 692 int last_id = 14; in GenerateSpirvProgramWithCfgNestingDepth() local 703 for (int i = largest_index+1; i > last_id; i = i - 2) { in GenerateSpirvProgramWithCfgNestingDepth() 707 spirv << "%" << last_id << " = OpLabel" << "\n"; in GenerateSpirvProgramWithCfgNestingDepth()
|
/third_party/boost/boost/spirit/home/lex/lexer/lexertl/ |
D | generate_static.hpp | 120 std::size_t last_id = 0; in generate_cpp_state_info() local 121 for (iterator rit = reverse_state_map.begin(); rit != rend; ++last_id) in generate_cpp_state_info() 123 for (/**/; last_id < (*rit).first; ++last_id) in generate_cpp_state_info()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstdevicemonitor.c | 115 guint last_id; member 325 self->priv->last_id = 1; in gst_device_monitor_init() 677 filter->id = monitor->priv->last_id++; in gst_device_monitor_add_filter_unlocked()
|
/third_party/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 392 const uint32_t last_id = (*last_blk)->id(); in UpdateSucceedingPhis() local 395 [&first_id, &last_id, this](const uint32_t succ) { in UpdateSucceedingPhis() 397 sbp->ForEachPhiInst([&first_id, &last_id, this](Instruction* phi) { in UpdateSucceedingPhis() 399 phi->ForEachInId([&first_id, &last_id, &changed](uint32_t* id) { in UpdateSucceedingPhis() 401 *id = last_id; in UpdateSucceedingPhis()
|
D | inst_bindless_check_pass.cpp | 515 uint32_t last_id = builder->GetUintConstantId(last); in GenLastByteIdx() local 517 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, last_id); in GenLastByteIdx()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 392 const uint32_t last_id = (*last_blk)->id(); in UpdateSucceedingPhis() local 395 [&first_id, &last_id, this](const uint32_t succ) { in UpdateSucceedingPhis() 397 sbp->ForEachPhiInst([&first_id, &last_id, this](Instruction* phi) { in UpdateSucceedingPhis() 399 phi->ForEachInId([&first_id, &last_id, &changed](uint32_t* id) { in UpdateSucceedingPhis() 401 *id = last_id; in UpdateSucceedingPhis()
|
D | inst_bindless_check_pass.cpp | 515 uint32_t last_id = builder->GetUintConstantId(last); in GenLastByteIdx() local 517 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, last_id); in GenLastByteIdx()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instrument_pass.cpp | 392 const uint32_t last_id = (*last_blk)->id(); in UpdateSucceedingPhis() local 395 [&first_id, &last_id, this](const uint32_t succ) { in UpdateSucceedingPhis() 397 sbp->ForEachPhiInst([&first_id, &last_id, this](Instruction* phi) { in UpdateSucceedingPhis() 399 phi->ForEachInId([&first_id, &last_id, &changed](uint32_t* id) { in UpdateSucceedingPhis() 401 *id = last_id; in UpdateSucceedingPhis()
|
/third_party/gstreamer/gstplugins_good/gst/flv/ |
D | gstindex.c | 197 index->last_id = 0; in gst_index_init() 752 *id = ++index->last_id; in gst_index_get_writer_id()
|
D | gstindex.h | 342 gint last_id; member
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstindex.c | 186 index->last_id = 0; in gst_index_init() 738 *id = ++index->last_id; in gst_index_get_writer_id()
|
D | gstindex.h | 345 gint last_id; member
|