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

Function ParseCkptFileName

serving/processor/storage/model_store.cc:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34std::string ParseCkptFileName(const std::string& ckpt_dir,
35 const std::string& fname) {
36 auto prefix = SplitBasename(fname).first;
37 return io::JoinPath(ckpt_dir, prefix);
38}
39
40int64 ParseMetaFileName(const std::string& fname) {
41 auto base_name = io::Basename(fname);

Callers 2

GetFullModelVersionMethod · 0.85
GetDeltaModelVersionMethod · 0.85

Calls 2

SplitBasenameFunction · 0.70
JoinPathFunction · 0.50

Tested by

no test coverage detected