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

Method SaveBaseState

tensorflow/core/framework/reader_base.cc:226–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void ReaderBase::SaveBaseState(ReaderBaseState* state) const {
227 state->Clear();
228 state->set_work_started(work_started_);
229 state->set_work_finished(work_finished_);
230 state->set_num_records_produced(num_records_produced_);
231 state->set_current_work(work_);
232}
233
234string ReaderBase::KeyName(const string& key) const {
235 return strings::StrCat(current_work(), ":", key);

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected