Home
last modified time | relevance | path

Searched refs:label_id (Results 1 – 25 of 66) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ge_runtime/task/
Dlabel_set_task.cc30 uint32_t label_id = task_info->label_id(); in LabelSetTask() local
32 MS_LOG(INFO) << "Label list size: " << label_list.size() << ", label id: " << label_id; in LabelSetTask()
33 if (stream_id >= stream_list.size() || label_id >= label_list.size()) { in LabelSetTask()
37 label_ = label_list[label_id]; in LabelSetTask()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_label_assign.cc67 …abelForLabelSet(NotNull<std::shared_ptr<session::KernelGraph>> graph, NotNull<uint32_t *> label_id, in AssignLabelForLabelSet() argument
87 AnfAlgo::SetNodeAttr(kAttrLabelIndex, MakeValue<uint32_t>(*label_id), node); in AssignLabelForLabelSet()
88 MS_LOG(INFO) << "Node " << node->DebugString() << " assign label id " << *label_id; in AssignLabelForLabelSet()
89 ++(*label_id); in AssignLabelForLabelSet()
94 AssignLabelForLabelSet(NOT_NULL(cg.lock()), label_id, memo); in AssignLabelForLabelSet()
133 uint32_t label_id = 0; in AssignLabel() local
134 AssignLabelForLabelSet(graph, NOT_NULL(&label_id), NOT_NULL(&memo)); in AssignLabel()
138 label_num_[graph.get().get()] = label_id; in AssignLabel()
/third_party/mindspore/tests/st/fl/albert/src/
Ddataset.py28 def __init__(self, input_ids, input_mask, segment_ids, label_id, seq_length=None): argument
32 self.label_id = label_id
68 label_id = label_map[example[1]]
73 label_id=label_id,
136 np.array(feature.label_id),
/third_party/gettext/gettext-tools/examples/hello-c-gnome3/
Dhello.c48 gsize label_id; member
64 window->labels[window->label_id]); in update_content()
65 window->label_id = (window->label_id + 1) % G_N_ELEMENTS (window->labels); in update_content()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-name.c38 hb_ot_name_id_t label_id; in test_ot_layout_feature_get_name_ids_and_characters() local
54 &label_id, &tooltip_id, &sample_id, in test_ot_layout_feature_get_name_ids_and_characters()
58 g_assert_cmpint (label_id, ==, 256); in test_ot_layout_feature_get_name_ids_and_characters()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-name.c38 hb_ot_name_id_t label_id; in test_ot_layout_feature_get_name_ids_and_characters() local
54 &label_id, &tooltip_id, &sample_id, in test_ot_layout_feature_get_name_ids_and_characters()
58 g_assert_cmpint (label_id, ==, 256); in test_ot_layout_feature_get_name_ids_and_characters()
/third_party/harfbuzz/test/api/
Dtest-ot-name.c38 hb_ot_name_id_t label_id; in test_ot_layout_feature_get_name_ids_and_characters() local
54 &label_id, &tooltip_id, &sample_id, in test_ot_layout_feature_get_name_ids_and_characters()
58 g_assert_cmpint (label_id, ==, 256); in test_ot_layout_feature_get_name_ids_and_characters()
/third_party/mindspore/mindspore/explainer/benchmark/_attribution/
Dmetric.py181 for label_id in range(self._num_labels):
183 for res in self._global_results[label_id]:
199 for label_id in range(self._num_labels):
200 for res in self._global_results[label_id]:
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ge_runtime/
Dtask_info.h150 LabelSetTaskInfo(const std::string &op_name, uint32_t stream_id, uint32_t label_id) in LabelSetTaskInfo() argument
151 : TaskInfo(op_name, stream_id, TaskInfoType::LABEL_SET, false), label_id_(label_id) {} in LabelSetTaskInfo()
153 uint32_t label_id() const { return label_id_; } in label_id() function
161 LabelGotoTaskInfo(const std::string &op_name, uint32_t stream_id, uint32_t label_id) in LabelGotoTaskInfo() argument
162 : TaskInfo(op_name, stream_id, TaskInfoType::LABEL_GOTO, false), label_id_(label_id) {} in LabelGotoTaskInfo()
164 uint32_t label_id() const { return label_id_; } in label_id() function
/third_party/spirv-tools/source/val/
Dbasic_block.cpp24 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() argument
25 : id_(label_id), in BasicBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dbasic_block.cpp24 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() argument
25 : id_(label_id), in BasicBlock()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dbasic_block.cpp24 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() argument
25 : id_(label_id), in BasicBlock()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dbasic_block.cpp25 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() argument
26 : id_(label_id), in BasicBlock()
/third_party/mindspore/mindspore/ccsrc/debug/rdr/
Dstream_exec_order_recorder.h37 void SetLabelId(const uint32_t &label_id) { label_ids_.push_back(label_id); } in SetLabelId() argument
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_auto_monad.cc1341 CNodePtr LabelGoto(uint32_t label_id) { in LabelGoto() argument
1345 AnfAlgo::SetNodeAttr(kAttrLabelIndex, MakeValue(label_id), cnode); in LabelGoto()
1352 CNodePtr LabelSet(uint32_t label_id) { in LabelSet() argument
1356 AnfAlgo::SetNodeAttr(kAttrLabelIndex, MakeValue(label_id), cnode); in LabelSet()
1474 auto label_id = AnfAlgo::GetNodeAttr<uint32_t>(node, kAttrLabelIndex); in FindMaxLabelId() local
1475 max_label = std::max(label_id, max_label); in FindMaxLabelId()
1487 for (auto label_id : label_list) { in HandleLabelSwitch() local
1488 …o iter = std::find_if(labels->begin(), labels->end(), [label_id](auto id) { return id == label_id;… in HandleLabelSwitch()
1491 (void)new_labels.emplace_back(label_id); in HandleLabelSwitch()
1492 (void)labels->emplace_back(label_id); in HandleLabelSwitch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpropagator.cpp218 const_block.ForEachSuccessorLabel([this, &block](const uint32_t label_id) { in Initialize() argument
220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize()
Dbasic_block.cpp240 BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id, in SplitBasicBlock() argument
246 context, SpvOpLabel, 0, label_id, std::initializer_list<Operand>{})); in SplitBasicBlock()
/third_party/spirv-tools/source/opt/
Dpropagator.cpp218 const_block.ForEachSuccessorLabel([this, &block](const uint32_t label_id) { in Initialize() argument
220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize()
Dbasic_block.cpp240 BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id, in SplitBasicBlock() argument
246 context, SpvOpLabel, 0, label_id, std::initializer_list<Operand>{})); in SplitBasicBlock()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dpropagator.cpp218 const_block.ForEachSuccessorLabel([this, &block](const uint32_t label_id) { in Initialize() argument
220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize()
Dbasic_block.cpp240 BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id, in SplitBasicBlock() argument
246 context, SpvOpLabel, 0, label_id, std::initializer_list<Operand>{})); in SplitBasicBlock()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dfunction.h53 uint32_t label_id() const { return label_op_.to_i(); } in label_id() function
/third_party/harfbuzz/src/
Dhb-ot-layout.cc1680 hb_ot_name_id_t *label_id, /* OUT. May be NULL */ in hb_ot_layout_feature_get_name_ids() argument
1698 if (label_id) *label_id = ss_params.uiNameID; in hb_ot_layout_feature_get_name_ids()
1710 if (label_id) *label_id = cv_params.featUILableNameID; in hb_ot_layout_feature_get_name_ids()
1719 if (label_id) *label_id = HB_OT_NAME_ID_INVALID; in hb_ot_layout_feature_get_name_ids()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout.cc1659 hb_ot_name_id_t *label_id, /* OUT. May be NULL */ in hb_ot_layout_feature_get_name_ids() argument
1677 if (label_id) *label_id = ss_params.uiNameID; in hb_ot_layout_feature_get_name_ids()
1689 if (label_id) *label_id = cv_params.featUILableNameID; in hb_ot_layout_feature_get_name_ids()
1698 if (label_id) *label_id = HB_OT_NAME_ID_INVALID; in hb_ot_layout_feature_get_name_ids()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout.cc1707 hb_ot_name_id_t *label_id, /* OUT. May be NULL */ in hb_ot_layout_feature_get_name_ids() argument
1725 if (label_id) *label_id = ss_params.uiNameID; in hb_ot_layout_feature_get_name_ids()
1737 if (label_id) *label_id = cv_params.featUILableNameID; in hb_ot_layout_feature_get_name_ids()
1746 if (label_id) *label_id = HB_OT_NAME_ID_INVALID; in hb_ot_layout_feature_get_name_ids()

123