Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dvoc_node.cc35 VOCNode::VOCNode(const std::string &dataset_dir, const std::string &task, const std::string &usage, in VOCNode() function in mindspore::dataset::VOCNode
47 std::shared_ptr<DatasetNode> VOCNode::Copy() { in Copy()
50 …std::make_shared<VOCNode>(dataset_dir_, task_, usage_, class_index_, decode_, sampler, cache_, ext… in Copy()
54 void VOCNode::Print(std::ostream &out) const { out << Name(); } in Print()
56 Status VOCNode::ValidateParams() { in ValidateParams()
93 Status VOCNode::Build(std::vector<std::shared_ptr<DatasetOp>> *const node_ops) { in Build()
135 Status VOCNode::GetShardId(int32_t *shard_id) { in GetShardId()
142 Status VOCNode::GetDatasetSize(const std::shared_ptr<DatasetSizeGetter> &size_getter, bool estimate, in GetDatasetSize()
165 Status VOCNode::to_json(nlohmann::json *out_json) { in to_json()
186 Status VOCNode::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds) { in from_json()
[all …]
Dvoc_node.h30 class VOCNode : public MappableSourceNode {
33 VOCNode(const std::string &dataset_dir, const std::string &task, const std::string &usage,
38 ~VOCNode() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc327 PYBIND_REGISTER(VOCNode, 2, ([](const py::module *m) { in __anon810239692b02()
328 …(void)py::class_<VOCNode, DatasetNode, std::shared_ptr<VOCNode>>(*m, "VOCNode", "to create a VOCNo… in __anon810239692b02()
332 std::shared_ptr<VOCNode> voc = in __anon810239692b02()
333 … std::make_shared<VOCNode>(dataset_dir, task, usage, toStringMap(class_indexing), decode, in __anon810239692b02()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/
Dpass.h68 class VOCNode; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dserdes.cc176 RETURN_IF_NOT_OK(VOCNode::from_json(json_obj, ds)); in CreateDatasetNode()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc1274 …auto ds = std::make_shared<VOCNode>(CharToString(dataset_dir), CharToString(task), CharToString(us… in VOCDataset()
1283 …auto ds = std::make_shared<VOCNode>(CharToString(dataset_dir), CharToString(task), CharToString(us… in VOCDataset()
1292 …auto ds = std::make_shared<VOCNode>(CharToString(dataset_dir), CharToString(task), CharToString(us… in VOCDataset()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddeserialize_test.cc338 std::make_shared<VOCNode>(dataset_dir, task, usage, class_indexing, true, sampler, cache); in TEST_F()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py5113 …return cde.VOCNode(self.dataset_dir, self.task, self.usage, self.class_indexing, self.decode, self…