Home
last modified time | relevance | path

Searched refs:cur_row_ (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Diterator.cc147 Iterator::_Iterator::_Iterator(Iterator *lt) : ind_{0}, lt_{lt}, cur_row_{nullptr} { in _Iterator()
149 cur_row_ = new MSTensorMap();
150 if (cur_row_ == nullptr) {
153 Status rc = lt_->GetNextRow(cur_row_);
156 delete cur_row_;
157 cur_row_ = nullptr;
164 Status rc = lt_->GetNextRow(cur_row_); in operator ++()
167 cur_row_ = nullptr; in operator ++()
170 if (cur_row_ && cur_row_->size() == 0) { in operator ++()
171 delete cur_row_; in operator ++()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Diterator.h100 if (cur_row_ != nullptr) { in ~_Iterator()
101 delete cur_row_; in ~_Iterator() local
102 cur_row_ = nullptr; in ~_Iterator()
110 MSTensorMap &operator*() { return *cur_row_; }
113 MSTensorMap *operator->() { return cur_row_; }
116 bool operator!=(const _Iterator &rhs) { return cur_row_ != rhs.cur_row_; }
121 MSTensorMap *cur_row_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dcsv_op.cc141 if (cur_col_ >= cur_row_.size()) { in PutRecord()
145 cur_row_[cur_col_] = std::move(t); in PutRecord()
176 Status s = rows_connector_->Add(worker_id_, std::move(cur_row_)); in PutRow()
309 this->cur_row_ = std::move(row); in InitCsvParser()
320 this->cur_row_ = std::move(row); in InitCsvParser()
329 this->cur_row_ = std::move(row); in InitCsvParser()
415 this->cur_row_ = std::move(row); in InitCsvParser()
428 this->cur_row_ = std::move(row); in InitCsvParser()
439 this->cur_row_ = std::move(row); in InitCsvParser()
Dcsv_op.h142 TensorRow cur_row_; member