/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ |
D | serdes.cc | 121 RETURN_IF_NOT_OK(ZipNode::from_json(datasets, ds)); in ConstructPipeline() 124 RETURN_IF_NOT_OK(ConcatNode::from_json(json_obj, datasets, ds)); in ConstructPipeline() 150 RETURN_IF_NOT_OK(AlbumNode::from_json(json_obj, ds)); in CreateDatasetNode() 152 RETURN_IF_NOT_OK(CelebANode::from_json(json_obj, ds)); in CreateDatasetNode() 154 RETURN_IF_NOT_OK(Cifar10Node::from_json(json_obj, ds)); in CreateDatasetNode() 156 RETURN_IF_NOT_OK(Cifar100Node::from_json(json_obj, ds)); in CreateDatasetNode() 158 RETURN_IF_NOT_OK(CLUENode::from_json(json_obj, ds)); in CreateDatasetNode() 160 RETURN_IF_NOT_OK(CocoNode::from_json(json_obj, ds)); in CreateDatasetNode() 162 RETURN_IF_NOT_OK(CSVNode::from_json(json_obj, ds)); in CreateDatasetNode() 164 RETURN_IF_NOT_OK(FlickrNode::from_json(json_obj, ds)); in CreateDatasetNode() [all …]
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | from_json.hpp | 26 void from_json(const BasicJsonType& j, typename std::nullptr_t& n) in from_json() function 66 void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json() function 76 void from_json(const BasicJsonType& j, typename BasicJsonType::string_t& s) in from_json() function 92 void from_json(const BasicJsonType& j, ConstructibleStringType& s) in from_json() function 103 void from_json(const BasicJsonType& j, typename BasicJsonType::number_float_t& val) in from_json() function 109 void from_json(const BasicJsonType& j, typename BasicJsonType::number_unsigned_t& val) in from_json() function 115 void from_json(const BasicJsonType& j, typename BasicJsonType::number_integer_t& val) in from_json() function 122 void from_json(const BasicJsonType& j, EnumType& e) in from_json() function 132 void from_json(const BasicJsonType& j, std::forward_list<T, Allocator>& l) in from_json() function 149 void from_json(const BasicJsonType& j, std::valarray<T>& l) in from_json() function [all …]
|
/third_party/boost/libs/hana/example/misc/ |
D | from_json.cpp | 42 T> from_json(std::istream& in) { in from_json() function 50 T> from_json(std::istream& in) { in from_json() function 65 T> from_json(std::istream& in) { in from_json() function 76 member = from_json<Member>(in); in from_json() 84 Xs> from_json(std::istream& in) { in from_json() function 96 element = from_json<Element>(in); in from_json() 122 auto actual = from_json<hana::tuple<Person, Car, Car>>(json); in main()
|
/third_party/json/test/src/ |
D | unit-noexcept.cpp | 47 void from_json(const json&, pod) noexcept; 48 void from_json(const json&, pod_bis); 51 void from_json(const json&, pod) noexcept {} in from_json() function 52 void from_json(const json&, pod_bis) {} in from_json() function 94 from_json(j2, pod()); 95 from_json(j2, pod_bis());
|
D | unit-udt.cpp | 187 static void from_json(const BasicJsonType& j, age& a) in from_json() function 193 static void from_json(const BasicJsonType& j, name& n) in from_json() function 199 static void from_json(const BasicJsonType& j, country& c) in from_json() function 215 static void from_json(const BasicJsonType& j, person& p) in from_json() function 222 static void from_json(const nlohmann::json& j, address& a) in from_json() function 227 static void from_json(const nlohmann::json& j, contact& c) in from_json() function 233 static void from_json(const nlohmann::json& j, contact_book& cb) in from_json() function 370 static void from_json(const json& j, std::shared_ptr<T>& opt) in from_json() function 391 static void from_json(const json& j, udt::legacy_type& l) in from_json() function 461 static void from_json(const json&, type& opt) in from_json() function [all …]
|
/third_party/json/include/nlohmann/ |
D | adl_serializer.hpp | 24 static auto from_json(BasicJsonType&& j, ValueType& val) noexcept( in from_json() function 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()
|
/third_party/json/doc/mkdocs/docs/features/ |
D | arbitrary_types.md | 64 void from_json(const json& j, person& p) { 73 Likewise, when calling `get<your_type>()` or `get_to(your_type&)`, the `from_json` method will be c… 80 * In function `from_json`, use function [`at()`](https://nlohmann.github.io/json/classnlohmann_1_1b… 86 If you just want to serialize/deserialize some structs, the `to_json`/`from_json` functions can be … 101 The `to_json`/`from_json` functions for the `person` struct above can be created with: 141 static void from_json(const json& j, T& value) { 142 // same thing, but with the "from_json" method 165 static void from_json(const json& j, boost::optional<T>& opt) { 170 // adl_serializer<T>::from_json 179 … You will need to specialize the `adl_serializer` as well, but with a special `from_json` overload: [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | ascend_vision_ir.h | 62 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 82 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 102 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 145 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 166 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation);
|
D | ascend_vision_ir.cc | 81 Status DvppCropJpegOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> … in from_json() function in mindspore::dataset::vision::DvppCropJpegOperation 136 Status DvppDecodeResizeOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperati… in from_json() function in mindspore::dataset::vision::DvppDecodeResizeOperation 245 Status DvppDecodeResizeCropOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOpe… in from_json() function in mindspore::dataset::vision::DvppDecodeResizeCropOperation 317 Status DvppNormalizeOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation>… in from_json() function in mindspore::dataset::vision::DvppNormalizeOperation 373 Status DvppResizeJpegOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation… in from_json() function in mindspore::dataset::vision::DvppResizeJpegOperation
|
D | invert_ir.h | 48 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation);
|
/third_party/mesa3d/src/amd/registers/ |
D | regdb.py | 106 def from_json(json, keys=None): member in Object 108 return [Object.from_json(v) for v in json] 115 v = Object.from_json(v) 632 regtype = Object.from_json(Object.to_json(self.__register_types[type_ref])) 683 regmap = Object.from_json(Object.to_json(regmap)) 711 regmap = Object.from_json(Object.to_json(regmap)) 715 regtype = Object.from_json(Object.to_json(other.__register_types[type_ref])) 723 enum = Object.from_json(Object.to_json(other.__enums[enum_ref])) 802 def from_json(json): member in RegisterDatabase 805 db.__enums = dict((k, Object.from_json(v)) for k, v in json['enums'].items()) [all …]
|
D | mergedbs.py | 42 regdb.update(RegisterDatabase.from_json(json.load(filp)))
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/samplers/ |
D | subset_random_sampler_ir.cc | 68 Status SubsetRandomSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json() function in mindspore::dataset::SubsetRandomSamplerObj 74 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
D | subset_sampler_ir.cc | 76 Status SubsetSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<Sa… in from_json() function in mindspore::dataset::SubsetSamplerObj 81 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
D | sequential_sampler_ir.cc | 65 Status SequentialSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json() function in mindspore::dataset::SequentialSamplerObj 71 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
D | random_sampler_ir.cc | 60 Status RandomSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<Sa… in from_json() function in mindspore::dataset::RandomSamplerObj 68 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
D | weighted_random_sampler_ir.cc | 67 Status WeightedRandomSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json() function in mindspore::dataset::WeightedRandomSamplerObj 75 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
D | pk_sampler_ir.cc | 64 Status PKSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<Sample… in from_json() function in mindspore::dataset::PKSamplerObj 71 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
D | distributed_sampler_ir.cc | 111 Status DistributedSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json() function in mindspore::dataset::DistributedSamplerObj 128 RETURN_IF_NOT_OK(SamplerObj::from_json(json_obj, sampler)); in from_json()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/data/ |
D | transforms_ir.cc | 138 Status FillOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operati… in from_json() function in mindspore::dataset::transforms::FillOperation 140 RETURN_IF_NOT_OK(Tensor::from_json(op_params, &fill_value)); in from_json() 183 Status OneHotOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *opera… in from_json() function in mindspore::dataset::transforms::OneHotOperation 290 Status TypeCastOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *ope… in from_json() function in mindspore::dataset::transforms::TypeCastOperation
|
D | transforms_ir.h | 113 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 151 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation); 256 static Status from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation> *operation);
|
/third_party/mindspore/mindspore/dataset/transforms/ |
D | py_transforms.py | 68 def from_json(cls, json_string): member in PyTensorOperation 80 sys.modules[json_op["python_module"]], json_op["tensor_op_name"]).from_json(
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/ |
D | cifar10_node.cc | 126 Status Cifar10Node::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds) { in from_json() function in mindspore::dataset::Cifar10Node 137 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | cifar100_node.cc | 125 Status Cifar100Node::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds) { in from_json() function in mindspore::dataset::Cifar100Node 136 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | mnist_node.cc | 119 Status MnistNode::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds) { in from_json() function in mindspore::dataset::MnistNode 130 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|