/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 …]
|
D | nlohmann_json.natvis | 3 <Type Name="nlohmann::basic_json<*>"> 4 <DisplayString Condition="m_type == nlohmann::detail::value_t::null">null</DisplayString> 5 …<DisplayString Condition="m_type == nlohmann::detail::value_t::object">{*(m_value.object)}</Displa… 6 …<DisplayString Condition="m_type == nlohmann::detail::value_t::array">{*(m_value.array)}</DisplayS… 7 …<DisplayString Condition="m_type == nlohmann::detail::value_t::string">{*(m_value.string)}</Displa… 8 …<DisplayString Condition="m_type == nlohmann::detail::value_t::boolean">{m_value.boolean}</Display… 9 …<DisplayString Condition="m_type == nlohmann::detail::value_t::number_integer">{m_value.number_int… 10 …<DisplayString Condition="m_type == nlohmann::detail::value_t::number_unsigned">{m_value.number_un… 11 …<DisplayString Condition="m_type == nlohmann::detail::value_t::number_float">{m_value.number_float… 12 …<DisplayString Condition="m_type == nlohmann::detail::value_t::discarded">discarded</DisplayString> [all …]
|
D | README.md | 1 …odern C++](https://raw.githubusercontent.com/nlohmann/json/master/doc/json.gif)](https://github.co… 3 [![Build Status](https://travis-ci.org/nlohmann/json.svg?branch=master)](https://travis-ci.org/nloh… 4 …ts/status/1acb366xfyg3qybk/branch/develop?svg=true)](https://ci.appveyor.com/project/nlohmann/json) 5 [![Ubuntu](https://github.com/nlohmann/json/workflows/Ubuntu/badge.svg)](https://github.com/nlohman… 6 [![macOS](https://github.com/nlohmann/json/workflows/macOS/badge.svg)](https://github.com/nlohmann/… 7 [![Windows](https://github.com/nlohmann/json/workflows/Windows/badge.svg)](https://github.com/nlohm… 8 [![Build Status](https://circleci.com/gh/nlohmann/json.svg?style=svg)](https://circleci.com/gh/nloh… 9 …us](https://coveralls.io/repos/github/nlohmann/json/badge.svg?branch=develop)](https://coveralls.i… 10 …tps://scan.coverity.com/projects/5550/badge.svg)](https://scan.coverity.com/projects/nlohmann-json) 11 …1f08)](https://www.codacy.com/app/nlohmann/json?utm_source=github.com&utm_medium=referral&… [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/ |
D | tbe_kernel_build.h | 26 #include <nlohmann/json.hpp> 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); [all …]
|
D | tbe_adapter.h | 25 #include "nlohmann/json.hpp" 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); [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_json/ |
D | tbe_json_creator.h | 25 #include <nlohmann/json.hpp> 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); [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.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);
|
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 …]
|
/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/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 …]
|
D | PULL_REQUEST_TEMPLATE.md | 7 Read the [Contribution Guidelines](https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTI… 9 …in the pull request, or an [existing issue is referenced](https://github.com/nlohmann/json/issues). 10 - [ ] The test suite [compiles and runs](https://github.com/nlohmann/json/blob/develop/README.md#e… 11 …ps://coveralls.io/github/nlohmann/json) is 100%. Test cases can be added by editing the [test suit… 12 …nlohmann` directory, run `make amalgamate` to create the single-header file `single_include/nlohma… 16 …sions. Please note the [list of supported compilers](https://github.com/nlohmann/json/blob/master/… 17 …soft Visual Studio** (there even is an [issue label](https://github.com/nlohmann/json/issues?utf8=…
|
/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/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_json_generator.h | 26 #include "nlohmann/json.hpp" 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> … [all …]
|
/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/json/include/nlohmann/ |
D | adl_serializer.hpp | 5 #include <nlohmann/detail/conversions/from_json.hpp> 6 #include <nlohmann/detail/conversions/to_json.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() 49 } // namespace nlohmann
|
/third_party/json/test/src/ |
D | unit-udt_macro.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 34 #include <nlohmann/json.hpp> 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); [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/mindspore/mindspore/ccsrc/debug/data_dump/ |
D | dump_json_parser.h | 25 #include "nlohmann/json.hpp" 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); [all …]
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | env_config_parser.h | 23 #include "nlohmann/json.hpp" 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/json/include/nlohmann/detail/iterators/ |
D | iteration_proxy.hpp | 8 #include <nlohmann/detail/meta/type_traits.hpp> 9 #include <nlohmann/detail/value_t.hpp> 11 namespace nlohmann namespace 135 // And see https://github.com/nlohmann/json/pull/1391 137 auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decltype(i.key()) in get() 143 // And see https://github.com/nlohmann/json/pull/1391 145 auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decltype(i.value()) in get() 150 } // namespace nlohmann 155 // And see https://github.com/nlohmann/json/pull/1391 159 // Fix: https://github.com/nlohmann/json/issues/1401 [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/oplib/ |
D | oplib.h | 23 #include <nlohmann/json.hpp> 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);
|