/third_party/json/ |
D | ChangeLog.md | 4 ## [v3.9.1](https://github.com/nlohmann/json/releases/tag/v3.9.1) (2020-08-06) 6 [Full Changelog](https://github.com/nlohmann/json/compare/v3.9.0...v3.9.1) 8 - Can't parse not formatted JSON. [\#2340](https://github.com/nlohmann/json/issues/2340) 9 …text begins with square bracket on gcc 7.5.0 [\#2339](https://github.com/nlohmann/json/issues/2339) 10 - Unexpected deserialization difference between Mac and Linux [\#2338](https://github.com/nlohmann/… 11 - Reading ordered\_json from file causes compile error [\#2331](https://github.com/nlohmann/json/is… 12 …ple consecutive lines starting with comments [\#2330](https://github.com/nlohmann/json/issues/2330) 13 …nstallation and CMake integration - Homebrew [\#2326](https://github.com/nlohmann/json/issues/2326) 14 - Chinese character initialize error [\#2325](https://github.com/nlohmann/json/issues/2325) 15 …ctor\<pair\>does not work with ordered\_json [\#2315](https://github.com/nlohmann/json/issues/2315) [all …]
|
/third_party/json/doc/ |
D | index.md | 8 - @link nlohmann::basic_json `basic_json`@endlink -- class template for JSON values 9 …- @link nlohmann::json `json`@endlink -- the default specialization of `basic_json`, defined as `b… 12 - @link nlohmann::basic_json::dump dump @endlink -- value serialization 13 - @link nlohmann::basic_json::type type @endlink -- type of the value 14 - @link nlohmann::basic_json::is_primitive is_primitive @endlink, 15 @link nlohmann::basic_json::is_structured is_structured @endlink, 16 @link nlohmann::basic_json::is_null is_null @endlink, 17 @link nlohmann::basic_json::is_boolean is_boolean @endlink, 18 @link nlohmann::basic_json::is_number is_number @endlink, 19 @link nlohmann::basic_json::is_number_integer is_number_integer @endlink, [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_json/ |
D | tbe_json_creator.h | 69 virtual bool GenJson(const AnfNodePtr &anf_node, nlohmann::json *kernel_json) { return false; } in GenJson() 70 …virtual bool GenJson(const FusionScopeInfo &fusion_scope_info, nlohmann::json *fusion_json) { retu… in GenJson() 75 bool GenComputeJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json); 76 …virtual bool GenInputsJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) { return fals… in GenInputsJson() 77 …virtual bool GenOutputsJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) { return fal… in GenOutputsJson() 78 void GenOutputDataDescJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json); 79 void GenComputeCommonJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json); 80 virtual void GenOtherJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) {} in GenOtherJson() 81 void GenAttrsDescJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json); 82 …void GenAttrsJson(const AnfNodePtr &anf_node, const OpInfoPtr &op_info_ptr, nlohmann::json *attrs_… [all …]
|
D | single_tbe_json_creator.h | 27 bool GenJson(const AnfNodePtr &anf_node, nlohmann::json *kernel_json) override; 30 bool GenOpListJson(const AnfNodePtr &anf_node, std::vector<nlohmann::json> *op_list_json); 31 void GenDataJson(const AnfNodePtr &anf_node, const nlohmann::json &compute_json, 32 std::vector<nlohmann::json> *op_list_json); 33 bool GenInputsJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) override; 34 …virtual void GenInputDescJson(const AnfNodePtr &anf_node, size_t real_input_index, nlohmann::json … 35 bool AssignInputsJson(const AnfNodePtr &anf_node, const std::vector<nlohmann::json> &inputs_desc, 37 std::vector<nlohmann::json> *inputs_json); 38 …void GenOutputDescJson(const AnfNodePtr &anf_node, size_t node_out_idx, nlohmann::json *output_des… 39 bool GenOutputsJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) override; [all …]
|
D | single_tbe_json_creator.cc | 31 bool SingleTbeJsonCreator::GenJson(const AnfNodePtr &anf_node, nlohmann::json *kernel_json) { in GenJson() 36 nlohmann::json soc_info_json = kernel::tbe::TbeUtils::GenSocInfo(); in GenJson() 37 std::vector<nlohmann::json> op_list; in GenJson() 54 bool SingleTbeJsonCreator::GenOpListJson(const AnfNodePtr &anf_node, std::vector<nlohmann::json> *o… in GenOpListJson() 58 nlohmann::json compute_json; in GenOpListJson() 69 void SingleTbeJsonCreator::GenDataJson(const AnfNodePtr &anf_node, const nlohmann::json &compute_js… in GenDataJson() 70 std::vector<nlohmann::json> *op_list_json) { in GenDataJson() 77 auto inputs_json = GetJsonValue<std::vector<nlohmann::json>>(compute_json, kJInputDesc); in GenDataJson() 82 nlohmann::json data_json; in GenDataJson() 83 std::vector<nlohmann::json> output_desc; in GenDataJson() [all …]
|
D | fusion_tbe_json_creator.cc | 33 bool FusionBuildTbeJsonCreator::GenJson(const FusionScopeInfo &fusion_scope_info, nlohmann::json *f… in GenJson() 37 nlohmann::json soc_info_json = kernel::tbe::TbeUtils::GenSocInfo(); in GenJson() 40 std::vector<nlohmann::json> op_list_json; in GenJson() 58 std::vector<nlohmann::json> *fusion_json) { in GenOpListJson() 71 std::vector<nlohmann::json> compute_list; in GenOpListJson() 73 nlohmann::json compute_json; in GenOpListJson() 124 const std::vector<nlohmann::json> &compute_json, in GenDataJson() 125 std::vector<nlohmann::json> *op_list_json, in GenDataJson() 133 auto inputs_desc = GetJsonValue<std::vector<nlohmann::json>>(compute_json.at(i), kJInputDesc); in GenDataJson() 139 nlohmann::json data_json; in GenDataJson() [all …]
|
D | fusion_tbe_json_creator.h | 28 bool GenJson(const FusionScopeInfo &fusion_scope_info, nlohmann::json *fusion_json) override; 31 …bool GenOpListJson(const FusionScopeInfo &fusion_scope_info, std::vector<nlohmann::json> *fusion_j… 32 bool GenInputsJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) override; 33 bool GenOutputsJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) override; 35 …void GenReusedOutputDesc(const AnfNodePtr &anf_node, size_t index, size_t output_index, nlohmann::… 37 …void GenDataJson(const std::vector<AnfNodePtr> &compute_nodes, const std::vector<nlohmann::json> &… 38 … std::vector<nlohmann::json> *op_list_json, const ANodeFusionDataTypeMap &spec_data_input); 40 nlohmann::json *attrs_json) override; 41 void GenOtherJson(const AnfNodePtr &anf_node, nlohmann::json *compute_json) override; 44 AnfNodePtr GetInputCNode(const AnfNodePtr &node, const nlohmann::json &input_desc);
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/ |
D | tbe_kernel_build.h | 40 static bool GetIOSize2(const nlohmann::json &kernel_json, std::vector<size_t> *input_size_list, 42 static bool GetIOSize(const nlohmann::json &kernel_json, std::vector<size_t> *input_size_list, 46 … const std::vector<AnfNodePtr> &compute_nodes, nlohmann::json *fusion_json, 48 …static bool GetIOSize(const nlohmann::json &fusion_op_list, const std::vector<AnfNodePtr> &output_… 50 …static void CalInputSize(const nlohmann::json &fusion_op_list, std::vector<size_t> *input_size_lis… 51 static bool CalOutputSize(const nlohmann::json &fusion_op_list, 60 nlohmann::json *data_str, size_t *index); 63 … nlohmann::json *compute_op_str, std::string *fusion_kernel_name, size_t *index); 66 … std::vector<nlohmann::json> *input_desc_list, size_t *index); 69 std::vector<nlohmann::json> *output_desc_list, [all …]
|
D | tbe_adapter.h | 49 nlohmann::json *attrs_json); 51 nlohmann::json *attrs_json); 123 const std::vector<nlohmann::json> &inputs_list, 124 std::vector<nlohmann::json> *inputs_json); 126 … std::vector<std::vector<nlohmann::json>> const &inputs_list, nlohmann::json *inputs_json); 128 std::vector<std::vector<nlohmann::json>> const &inputs_list, 129 nlohmann::json *inputs_json); 133 … std::vector<nlohmann::json> *input_list, kCreaterType creater_type); 137 nlohmann::json *attrs_json); 138 static void FusionDescJsonPass(const AnfNodePtr &node, nlohmann::json *output_desc, [all …]
|
D | ascend_kernel_compile.h | 74 void PrintProcessLog(const nlohmann::json &json, int adjust_log_level); 75 …void JsonAssemble(const std::string &job_type, const nlohmann::json &src_json, nlohmann::json *dst… 76 void PrintInitResult(const nlohmann::json &json); 77 void PrintCompileResult(const nlohmann::json &json); 78 std::string OpSelectAndCheckResultProcess(const nlohmann::json &json, const AnfNodePtr &node); 79 void QueryResultProcess(const nlohmann::json &json, TargetJobStatus *task_info); 80 nlohmann::json TurnStrToJson(const std::string &str) const; 88 std::map<int, nlohmann::json> job_list_;
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_json_generator.h | 95 bool CollectJson(const AnfNodePtr &anf_node, nlohmann::json *kernel_json); 97 const std::vector<AnfNodePtr> &output_list, nlohmann::json *kernel_json); 101 bool GenerateSingleKernelJson(const AnfNodePtr &anf_node, nlohmann::json *node_json); 103 nlohmann::json kernel_json() const { return kernel_json_; } in kernel_json() 116 …bool CreateInputDescJson(const AnfNodePtr &anf_node, const OpInfoPtr &op_info, nlohmann::json *inp… 117 …bool CreateOutputDescJson(const AnfNodePtr &anf_node, const OpInfoPtr &op_info, nlohmann::json *ou… 119 nlohmann::json *attr_json, const ValuePtr &attr_value); 120 …bool CreateAttrDescJson(const AnfNodePtr &anf_node, const OpInfoPtr &op_info, nlohmann::json *attr… 121 …void GenStitchJson(const std::vector<AnfNodePtr> &anf_nodes, std::map<AnfNodePtr, nlohmann::json> … 122 nlohmann::json *kernel_json); [all …]
|
D | akg_kernel_json_generator.cc | 172 nlohmann::json *inputs_json) { in CreateInputDescJson() 191 std::vector<nlohmann::json> input_list; in CreateInputDescJson() 200 nlohmann::json input_desc_json; in CreateInputDescJson() 225 nlohmann::json *outputs_json) { in CreateOutputDescJson() 233 nlohmann::json output_json; in CreateOutputDescJson() 257 const OpAttrPtr &op_attr, nlohmann::json *attr_json, in GetAttrJson() 299 nlohmann::json *attrs_json) { in CreateAttrDescJson() 316 nlohmann::json attr_json; in CreateAttrDescJson() 377 std::string AkgKernelJsonGenerator::GetTensorName(const nlohmann::json &node_json, const std::strin… in GetTensorName() 385 nlohmann::json first_index; in GetTensorName() [all …]
|
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/ |
D | dump_json_parser.h | 91 void ParseCommonDumpSetting(const nlohmann::json &content); 92 void ParseE2eDumpSetting(const nlohmann::json &content); 95 auto CheckJsonKeyExist(const nlohmann::json &content, const std::string &key); 97 void ParseDumpMode(const nlohmann::json &content); 98 void ParseDumpPath(const nlohmann::json &content); 99 void ParseNetName(const nlohmann::json &content); 100 void ParseIteration(const nlohmann::json &content); 101 void ParseInputOutput(const nlohmann::json &content); 102 void ParseKernels(const nlohmann::json &content); 103 void ParseSupportDevice(const nlohmann::json &content); [all …]
|
/third_party/json/doc/mkdocs/docs/integration/ |
D | package_managers.md | 14 brew tap nlohmann/json 15 brew install nlohmann-json 21 brew tap nlohmann/json 22 brew install nlohmann-json --HEAD 40 brew tap nlohmann/json 41 brew install nlohmann-json 44 …3. Determine the include path, which defaults to `/usr/local/Cellar/nlohmann-json/$version/include… 47 brew list nlohmann-json 53 clang++ example.cpp -I/usr/local/Cellar/nlohmann-json/3.7.3/include -std=c++11 -o example 58 …`include.zip` published in this project's [Releases](https://github.com/nlohmann/json/releases) to… [all …]
|
D | index.md | 3 …nlohmann/json/blob/develop/single_include/nlohmann/json.hpp) is the single required file in `singl… 6 #include <nlohmann/json.hpp> 9 using json = nlohmann::json; 14 …u can further use file [`include/nlohmann/json_fwd.hpp`](https://github.com/nlohmann/json/blob/dev…
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | env_config_parser.h | 66 …bool CheckJsonStringType(const nlohmann::json &content, const std::string &setting_key, const std:… 67 …std::optional<nlohmann::detail::iter_impl<const nlohmann::json>> CheckJsonKeyExist(const nlohmann:… 71 void ParseRdrSetting(const nlohmann::json &content); 72 void ParseRdrPath(const nlohmann::json &content); 73 void ParseRdrEnable(const nlohmann::json &content); 75 void ParseMemReuseSetting(const nlohmann::json &content); 76 void ParseSysMemReuse(const nlohmann::json &content);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ |
D | serdes.h | 155 …static Status SaveToJSON(std::shared_ptr<DatasetNode> node, const std::string &filename, nlohmann:… 167 static Status ConstructPipeline(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds); 173 static Status ConstructSampler(nlohmann::json json_obj, std::shared_ptr<SamplerObj> *sampler); 179 …static Status ConstructTensorOps(nlohmann::json json_obj, std::vector<std::shared_ptr<TensorOperat… 194 static Status SaveJSONToFile(nlohmann::json json_string, const std::string &file_name); 201 static Status CreateNode(const std::shared_ptr<DatasetNode> &child_ds, nlohmann::json json_obj, 209 static Status CreateDatasetNode(const nlohmann::json &json_obj, const std::string &op_type, 217 …static Status CreateDatasetOperationNode(const std::shared_ptr<DatasetNode> &ds, const nlohmann::j… 222 …static std::map<std::string, Status (*)(nlohmann::json json_obj, std::shared_ptr<TensorOperation> … 226 …static std::map<std::string, Status (*)(nlohmann::json json_obj, std::shared_ptr<TensorOperation> …
|
/third_party/json/test/src/ |
D | unit-udt_macro.cpp | 35 using nlohmann::json; 268 nlohmann::json j = obj1; //via json object 277 nlohmann::json j1 = obj1; //via json string 279 nlohmann::json j2 = nlohmann::json::parse(s); 288 nlohmann::json j1 = obj1; //via msgpack 289 std::vector<uint8_t> buf = nlohmann::json::to_msgpack(j1); 290 nlohmann::json j2 = nlohmann::json::from_msgpack(buf); 299 nlohmann::json j1 = obj1; //via bson 300 std::vector<uint8_t> buf = nlohmann::json::to_bson(j1); 301 nlohmann::json j2 = nlohmann::json::from_bson(buf); [all …]
|
/third_party/json/doc/mkdocs/docs/features/ |
D | object_order.md | 5 The default type `nlohmann::json` uses a `std::map` to store JSON objects, and thus stores object k… 13 using json = nlohmann::json; 36 …e the **insertion order**, you can try the type [`nlohmann::ordered_json`](https://github.com/nloh… 42 #include <nlohmann/json.hpp> 44 using ordered_json = nlohmann::ordered_json; 67 …nlohmann/json/issues/546#issuecomment-304447518)) or [`nlohmann::fifo_map`](https://github.com/nlo…
|
/third_party/json/doc/mkdocs/docs/home/ |
D | releases.md | 7 - [include.zip](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip) (274 KB) 8 …- [include.zip.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip.asc) (1 … 9 - [json.hpp](https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp) (791 KB) 10 - [json.hpp.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp.asc) (1 KB) 27 …nlohmann.github.io/json/doxygen/classnlohmann_1_1basic__json_af1592a06bc63811886ade4f9d965045e.htm… 28 …nlohmann.github.io/json/doxygen/classnlohmann_1_1basic__json_ab7285a92514fcdbe6de505ebaba92ea3.htm… 35 - [include.zip](https://github.com/nlohmann/json/releases/download/v3.7.2/include.zip) (274 KB) 36 …- [include.zip.asc](https://github.com/nlohmann/json/releases/download/v3.7.2/include.zip.asc) (1 … 37 - [json.hpp](https://github.com/nlohmann/json/releases/download/v3.7.2/json.hpp) (791 KB) 38 - [json.hpp.asc](https://github.com/nlohmann/json/releases/download/v3.7.2/json.hpp.asc) (1 KB) [all …]
|
/third_party/json/.github/ |
D | CONTRIBUTING.md | 1 …nlohmann/json/badge/pr?style=flat)](http://issuestats.com/github/nlohmann/json) [![Issue Stats](ht… 5 …, or even fixing my mistakes. I am really [thankful](https://github.com/nlohmann/json/blob/master/… 7 …s subject to discussion, so please [create an issue](https://github.com/nlohmann/json/issues/new/c… 11 …nlohmann/json/issues). If you want to make a private report (e.g., for a vulnerability or to attac… 15 Please [create an issue](https://github.com/nlohmann/json/issues/new/choose), assuming one does not… 25 …nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/Bug_report.md), [feature request](https://github… 29 …nlohmann/json.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp… 33 …nlohmann/*`](https://github.com/nlohmann/json/tree/develop/include/nlohmann) - These files are the… 35 …nlohmann/json/tree/develop/test/src) - These files contain the [doctest](https://github.com/onqtam… 47 …uted with several different compilers on [Travis](https://travis-ci.org/nlohmann/json) once you op… [all …]
|
/third_party/json/include/nlohmann/ |
D | adl_serializer.hpp | 8 namespace nlohmann namespace 25 noexcept(::nlohmann::from_json(std::forward<BasicJsonType>(j), val))) in from_json() 26 -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void()) in from_json() 28 ::nlohmann::from_json(std::forward<BasicJsonType>(j), val); in from_json() 42 noexcept(::nlohmann::to_json(j, std::forward<ValueType>(val)))) in to_json() 43 -> decltype(::nlohmann::to_json(j, std::forward<ValueType>(val)), void()) in to_json() 45 ::nlohmann::to_json(j, std::forward<ValueType>(val)); in to_json()
|
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/ |
D | dependencies.txt | 1 …nlohmann/detail/iterators/primitive_iterator.hpp", "mindspore/core/utils/trace_base.cc", "mindspor…
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/oplib/ |
D | oplib.h | 42 …static bool DecodeOpInfo(const nlohmann::json &obj, OpImplyType imply_type, const std::string &imp… 43 …static bool DecodeAttr(const nlohmann::json &obj, OpImplyType imply_type, const std::shared_ptr<Op… 44 …static bool DecodeDtypeFormat(const nlohmann::json &dtype_format, const std::shared_ptr<OpIOInfo> … 46 …static void DecodeTBESpecificInfo(const nlohmann::json &obj, const std::shared_ptr<OpInfo> &op_inf… 47 …static void DecodeAKGSpecificInfo(const nlohmann::json &obj, const std::shared_ptr<OpInfo> &op_inf… 48 static bool DecodeInputOutput(const nlohmann::json &obj, OpImplyType imply_type, OpIOType io_type, 49 … const std::shared_ptr<OpInfo> &op_info, const nlohmann::json &dtype_format);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | ascend_vision_ir.h | 60 Status to_json(nlohmann::json *out_json) override; 62 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 80 Status to_json(nlohmann::json *out_json) override; 82 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 100 Status to_json(nlohmann::json *out_json) override; 102 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 143 Status to_json(nlohmann::json *out_json) override; 145 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 164 Status to_json(nlohmann::json *out_json) override; 166 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation);
|