Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dcsv_node.cc26 CSVNode::CSVNode(const std::vector<std::string> &csv_files, char field_delim, in CSVNode() function in mindspore::dataset::CSVNode
46 std::shared_ptr<DatasetNode> CSVNode::Copy() { in Copy()
47 …auto node = std::make_shared<CSVNode>(dataset_files_, field_delim_, column_defaults_, column_names… in Copy()
52 void CSVNode::Print(std::ostream &out) const { in Print()
57 Status CSVNode::ValidateParams() { in ValidateParams()
95 Status CSVNode::Build(std::vector<std::shared_ptr<DatasetOp>> *const node_ops) { in Build()
149 Status CSVNode::GetShardId(int32_t *shard_id) { in GetShardId()
156 Status CSVNode::GetDatasetSize(const std::shared_ptr<DatasetSizeGetter> &size_getter, bool estimate, in GetDatasetSize()
171 Status CSVNode::to_json(nlohmann::json *out_json) { in to_json()
190 Status CSVNode::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> *ds) { in from_json()
[all …]
Dcsv_node.h50 class CSVNode : public NonMappableSourceNode {
53 CSVNode(const std::vector<std::string> &dataset_files, char field_delim,
59 ~CSVNode() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc129 PYBIND_REGISTER(CSVNode, 2, ([](const py::module *m) { in __anon810239690d02()
130 …(void)py::class_<CSVNode, DatasetNode, std::shared_ptr<CSVNode>>(*m, "CSVNode", "to create a CSVNo… in __anon810239690d02()
135 … std::make_shared<CSVNode>(csv_files, field_delim, toCSVBase(column_defaults), column_names, in __anon810239690d02()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/
Dpass.h74 class CSVNode; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dserdes.cc162 RETURN_IF_NOT_OK(CSVNode::from_json(json_obj, ds)); in CreateDatasetNode()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddeserialize_test.cc261 …std::shared_ptr<DatasetNode> ds = std::make_shared<CSVNode>(dataset_files, field_delim, column_def… in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc1012 std::make_shared<CSVNode>(VectorCharToString(dataset_files), field_delim, column_defaults, in CSVDataset()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py5717 … return cde.CSVNode(self.dataset_files, self.field_delim, self.column_defaults, self.column_names,