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

Method GetCurrentStatus

tensorflow/compiler/xla/client/xla_builder.cc:317–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317Status XlaBuilder::GetCurrentStatus() const {
318 if (!first_error_.ok()) {
319 string backtrace;
320 first_error_backtrace_.Dump(tensorflow::DebugWriteToString, &backtrace);
321 return AppendStatus(first_error_, backtrace);
322 }
323 return Status::OK();
324}
325
326StatusOr<XlaComputation> XlaBuilder::Build(bool remove_dynamic_dimensions) {
327 TF_RETURN_IF_ERROR(GetCurrentStatus());

Callers

nothing calls this directly

Calls 3

AppendStatusFunction · 0.85
okMethod · 0.45
DumpMethod · 0.45

Tested by

no test coverage detected