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

Function IsIncrementalCkptPath

serving/processor/storage/model_store.cc:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19bool IsIncrementalCkptPath(const std::string& fname) {
20 auto pos = fname.find(".incremental_checkpoint");
21 return pos != std::string::npos;
22}
23
24std::pair<StringPiece, StringPiece> SplitBasename(StringPiece path) {
25 path = io::Basename(path);

Callers 1

GetFullModelVersionMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected