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

Method RefreshStatus

tensorflow/core/common_runtime/device.h:136–139  ·  view source on GitHub ↗

This is used in conjunction with AllowsSyncOnCompletion to allow the executor to get execution result status at session completion. For supported devices, this call returns the underlying device stream's current status in a non-blocking way, without using blocking calls such as Stream::BlockHostUntilDone or Device::Sync. When applicable, the device status is also updated with the retrieved stream

Source from the content-addressed store, hash-verified

134 // Stream::BlockHostUntilDone or Device::Sync. When applicable, the device
135 // status is also updated with the retrieved stream status.
136 virtual Status RefreshStatus() {
137 return errors::Unimplemented(
138 "RefreshStatus is not supported on this device.");
139 }
140
141 // Optionally modify the device's GraphDef before execution.
142 //

Callers 1

FinishMethod · 0.45

Calls 1

UnimplementedFunction · 0.85

Tested by

no test coverage detected