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

Method IsValid

serving/processor/framework/model_version.h:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 Version& operator=(const Version&) = default;
22
23 bool IsValid() {
24 if (full_ckpt_version == -1 ||
25 full_ckpt_name.empty() ||
26 savedmodel_dir.empty()) return false;
27 return true;
28 }
29
30 const std::string DebugString() const {
31 return tensorflow::strings::StrCat(

Callers 1

WorkLoopMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected