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

Method Poison

tensorflow/core/common_runtime/eager/tensor_handle.cc:458–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void TensorHandle::Poison(Status status) {
459 DCHECK(!is_ready_notification_.HasBeenNotified())
460 << "Poison(status) can only be called on non-ready handles.";
461 is_poisoned_ = status;
462 is_ready_notification_.Notify();
463}
464
465Status TensorHandle::CopyToDevice(EagerContext* ctx, tensorflow::Device* dstd,
466 tensorflow::Tensor* output) {

Callers 9

AbortMethod · 0.80
EagerRemoteExecuteFunction · 0.80
AbortMethod · 0.80
RunRemoteRecvMethod · 0.80
StartRecvMethod · 0.80
StartRemoteSendTensorMethod · 0.80
AbortMethod · 0.80
AbortMethod · 0.80
RunMethod · 0.80

Calls 2

HasBeenNotifiedMethod · 0.80
NotifyMethod · 0.45

Tested by

no test coverage detected