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

Method ResetLocked

tensorflow/core/framework/reader_base.cc:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48Status ReaderBase::ResetLocked() {
49 work_started_ = 0;
50 work_finished_ = 0;
51 num_records_produced_ = 0;
52 work_.clear();
53 return Status::OK();
54}
55
56Status ReaderBase::SerializeState(string* state) {
57 mutex_lock lock(mu_);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected