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

Method LoadExistFile

tensorflow/core/framework/embedding/emb_file.h:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 void LoadExistFile(const std::string& old_file_path,
60 size_t count, size_t invalid_count) {
61 Env::Default()->CopyFile(old_file_path, filepath_);
62 Reopen();
63 count_ = count;
64 invalid_count_ = invalid_count;
65 }
66
67 void Flush() {
68 if (fs_.is_open()) {

Callers 1

CopyEmbFilesFromCkptMethod · 0.80

Calls 2

DefaultFunction · 0.85
CopyFileMethod · 0.45

Tested by

no test coverage detected