MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetNext

Method GetNext

tensorflow/python/lib/io/py_record_reader.cc:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void PyRecordReader::GetNext(TF_Status* status) {
62 if (reader_ == nullptr) {
63 Set_TF_Status_from_Status(status,
64 errors::FailedPrecondition("Reader is closed."));
65 return;
66 }
67 Status s = reader_->ReadRecord(&offset_, &record_);
68 Set_TF_Status_from_Status(status, s);
69}
70
71void PyRecordReader::Close() {
72 delete reader_;

Callers 1

tf_record_iteratorFunction · 0.45

Calls 3

FailedPreconditionFunction · 0.85
ReadRecordMethod · 0.45

Tested by

no test coverage detected