| 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( |