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

Method ToString

tensorflow/core/lib/core/status.cc:176–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176string Status::ToString() const {
177 if (state_ == nullptr) {
178 return "OK";
179 } else {
180 string result(error_name(code()));
181 result += ": ";
182 result += state_->msg;
183 return result;
184 }
185}
186
187void Status::IgnoreError() const {
188 // no-op

Callers 15

HasErrorFunction · 0.45
NodeDoneMethod · 0.45
HasErrorFunction · 0.45
InstantiateAndRunMethod · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
ColocateNodeToGroupMethod · 0.45
CheckDependenciesMethod · 0.45
WaitForDependenciesMethod · 0.45
CompleteGroupLocalMethod · 0.45

Calls 2

error_nameFunction · 0.85
codeTypeAlias · 0.85

Tested by 15

HasErrorFunction · 0.36
HasErrorFunction · 0.36
InstantiateAndRunMethod · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
ExpectErrorMessageSubstrFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
FinishMethod · 0.36
FinishImplMethod · 0.36