Searched refs:label_index (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/ |
D | manifest_op.cc | 68 std::vector<int32_t> label_index(data.second.size()); in LoadTensorRow() local 69 (void)std::transform(data.second.begin(), data.second.end(), label_index.begin(), in LoadTensorRow() 71 RETURN_IF_NOT_OK(Tensor::CreateFromVector(label_index, &label)); in LoadTensorRow() 72 if (label_index.size() == 1) { in LoadTensorRow() 75 RETURN_IF_NOT_OK(label->Reshape(TensorShape(std::vector<dsize_t>(1, label_index.size())))); in LoadTensorRow() 122 int32_t label_index = label_index_.at(label_name); in GetClassIds() local 123 (*cls_ids)[label_index].emplace_back(image_index); in GetClassIds()
|
D | celeba_op.cc | 196 for (uint32_t label_index = 1; label_index < split.size(); label_index++) { in ParseImageAttrInfo() local 199 value = std::stoi(split[label_index]); in ParseImageAttrInfo() 202 split[label_index] + "."); in ParseImageAttrInfo() 206 split[label_index] + "."); in ParseImageAttrInfo()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 138 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge() local 139 label_index += 2) { in RedirectEdge() 140 operand_indices.push_back(label_index); in RedirectEdge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 138 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge() local 139 label_index += 2) { in RedirectEdge() 140 operand_indices.push_back(label_index); in RedirectEdge()
|
/third_party/spirv-tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 141 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge() local 142 label_index += 2) { in RedirectEdge() 143 operand_indices.push_back(label_index); in RedirectEdge()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | ascend_auto_monad.cc | 613 auto label_index = static_cast<uint32_t>(call_info.return_points.size() - 1); in HandleCallReturn() local 614 call_site->label_indexes.emplace(call_info.label_param, label_index); in HandleCallReturn() 1046 for (auto &[label_param, label_index] : call_site->label_indexes) { in AssignLabelIndexes() 1047 auto index_value = GetIndexValueNode(label_index); in AssignLabelIndexes()
|
D | anf_runtime_algorithm.h | 248 static bool IsLabelIndexInNode(const AnfNodePtr &node, size_t label_index);
|
D | anf_runtime_algorithm.cc | 1472 bool AnfRuntimeAlgorithm::IsLabelIndexInNode(const AnfNodePtr &node, size_t label_index) { in IsLabelIndexInNode() argument 1480 (AnfAlgo::GetNodeAttr<uint32_t>(cnode, kAttrLabelIndex) == label_index)) { in IsLabelIndexInNode() 1484 if (std::find(label_list.begin(), label_list.end(), label_index) != label_list.end()) { in IsLabelIndexInNode()
|