Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dmanifest_node.cc34 ManifestNode::ManifestNode(const std::string &dataset_file, const std::string &usage, in ManifestNode() function in mindspore::dataset::ManifestNode
45 std::shared_ptr<DatasetNode> ManifestNode::Copy() { in Copy()
47 …auto node = std::make_shared<ManifestNode>(dataset_file_, usage_, sampler, class_index_, decode_, … in Copy()
51 void ManifestNode::Print(std::ostream &out) const { in Print()
62 Status ManifestNode::ValidateParams() { in ValidateParams()
93 Status ManifestNode::Build(std::vector<std::shared_ptr<DatasetOp>> *const node_ops) { in Build()
115 Status ManifestNode::GetShardId(int32_t *shard_id) { in GetShardId()
122 Status ManifestNode::GetDatasetSize(const std::shared_ptr<DatasetSizeGetter> &size_getter, bool est… in GetDatasetSize()
145 Status ManifestNode::to_json(nlohmann::json *out_json) { in to_json()
165 Status ManifestNode::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds) { in from_json()
[all …]
Dmanifest_node.h30 class ManifestNode : public MappableSourceNode {
33ManifestNode(const std::string &dataset_file, const std::string &usage, const std::shared_ptr<Samp…
37 ~ManifestNode() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc201 PYBIND_REGISTER(ManifestNode, 2, ([](const py::module *m) { in __anon810239691802()
202 … (void)py::class_<ManifestNode, DatasetNode, std::shared_ptr<ManifestNode>>(*m, "ManifestNode", in __anon810239691802()
206 … auto manifest = std::make_shared<ManifestNode>(dataset_file, usage, toSamplerObj(sampler), in __anon810239691802()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/
Dpass.h65 class ManifestNode; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dserdes.cc168 RETURN_IF_NOT_OK(ManifestNode::from_json(json_obj, ds)); in CreateDatasetNode()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc1119 …auto ds = std::make_shared<ManifestNode>(CharToString(dataset_file), CharToString(usage), sampler_… in ManifestDataset()
1127 …auto ds = std::make_shared<ManifestNode>(CharToString(dataset_file), CharToString(usage), sampler_… in ManifestDataset()
1136 …auto ds = std::make_shared<ManifestNode>(CharToString(dataset_file), CharToString(usage), sampler_… in ManifestDataset()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddeserialize_test.cc308 std::make_shared<ManifestNode>(data_file, "train", sampler, class_indexing, false, cache); in TEST_F()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py4411 …return cde.ManifestNode(self.dataset_file, self.usage, self.sampler, self.class_indexing, self.dec…