Home
last modified time | relevance | path

Searched refs:GetJsonValue (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dascend_kernel_compile.cc113 const auto &error_code = GetJsonValue<std::string>(exception_message, kErrorCode); in ReportToErrorManager()
120 const auto &arg_value = GetJsonValue<std::string>(exception_message, arg_key); in ReportToErrorManager()
130 auto level = GetJsonValue<int>(info, kLevel); in PrintInfo()
132 auto message = GetJsonValue<std::string>(info, kMessage); in PrintInfo()
149 auto message = GetJsonValue<std::string>(item, kMessage); in FilterExceptionMessage()
287 auto all_logs = GetJsonValue<std::vector<nlohmann::json>>(json, kProcessInfo); in PrintProcessLog()
288 auto job_id = GetJsonValue<int>(json, kJobId); in PrintProcessLog()
289 auto json_name = GetJsonValue<std::string>(json, kFusionOpName); in PrintProcessLog()
297 auto job_type = GetJsonValue<std::string>(json, kJobType); in PrintCompileResult()
298 auto json_name = GetJsonValue<std::string>(json, kFusionOpName); in PrintCompileResult()
[all …]
Dtbe_kernel_parallel_build.cc159 auto fusion_name = GetJsonValue<std::string>(result, "op_pattern"); in PreTaskFinishProcess()
161 auto output_data_desc = GetJsonValue<nlohmann::json>(result, "op_params"); in PreTaskFinishProcess()
Dtbe_adapter.cc467 auto type_id = GetJsonValue<int>(attrs_json->at(0), kJValue); in CastAttrJsonPost()
481 if (GetJsonValue<std::string>(json_item, kJName) == kAttrEpsilon) { in LayerNormAttrJsonPost()
Dtbe_utils.cc407 auto build_res_str = GetJsonValue<std::string>(read_new_json, kBuildRes); in GetCompileInfo()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_json/
Dtbe_json_creator.cc250 if (GetJsonValue<std::string>(node_json, kJType) != kJData) { in GenFusionOpName()
287 auto op_name = GetJsonValue<std::string>((*kernel_json), kJFusionOpName); in AddOpNameForComputeNode()
290 if (GetJsonValue<std::string>(node_json, kJType) != kJData) { in AddOpNameForComputeNode()
358 if (GetJsonValue<std::string>(attr, kJName) != kJIsRef && GetJsonValue<bool>(attr, kJValid)) { in GenAttrsDescJson()
419 (*output_desc)[kJDtype] = GetJsonValue<std::string>(*output_desc, kJDataType); in GenDescJson()
542 (*compute_json)[kJOutputDataDesc] = GetJsonValue<nlohmann::json>(op_desc.at(0), kJListArgs); in GenOutputDataDescJson()
544 auto outputs_desc = GetJsonValue<std::vector<nlohmann::json>>(*compute_json, kJOutputDesc); in GenOutputDataDescJson()
Dsingle_tbe_json_creator.cc77 auto inputs_json = GetJsonValue<std::vector<nlohmann::json>>(compute_json, kJInputDesc); in GenDataJson()
89 data_json[kJName] = GetJsonValue<std::string>(input_json, kJName); in GenDataJson()
167 (*input_desc)[kJDataType] = GetJsonValue<std::string>(*input_desc, kJDtype); in GenInputDescJson()
341 (*output_desc)[kJDtype] = GetJsonValue<std::string>(*output_desc, kJDataType); in GenDescJson()
362 (*input_desc)[kJDataType] = GetJsonValue<std::string>(*input_desc, kJDtype); in GenInputDescJson()
394 (*output_desc)[kJDtype] = GetJsonValue<std::string>(*output_desc, kJDataType); in GenDescJson()
415 (*input_desc)[kJDataType] = GetJsonValue<std::string>(*input_desc, kJDtype); in GenInputDescJson()
Dfusion_tbe_json_creator.cc133 auto inputs_desc = GetJsonValue<std::vector<nlohmann::json>>(compute_json.at(i), kJInputDesc); in GenDataJson()
136GetJsonValue<std::string>(input_desc, kJName)) != compute_nodes_fullname.end()) { in GenDataJson()
147 data_json[kJName] = GetJsonValue<std::string>(input_desc, kJName); in GenDataJson()
156 auto input_name = GetJsonValue<std::string>(input_desc, kJName); in GetInputCNode()
/third_party/mindspore/mindspore/ccsrc/utils/
Djson_operation_utils.h27 T GetJsonValue(const nlohmann::json &json, const std::string &key) { in GetJsonValue() function