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

Method FileStillExists

tensorflow/core/util/events_writer.cc:165–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165Status EventsWriter::FileStillExists() {
166 if (env_->FileExists(filename_).ok()) {
167 return Status::OK();
168 }
169 // This can happen even with non-null recordio_writer_ if some other
170 // process has removed the file.
171 return errors::Unknown("The events file ", filename_, " has disappeared.");
172}
173
174} // namespace tensorflow

Callers

nothing calls this directly

Calls 3

UnknownClass · 0.50
okMethod · 0.45
FileExistsMethod · 0.45

Tested by

no test coverage detected