| 456 | } |
| 457 | |
| 458 | void 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 | |
| 465 | Status TensorHandle::CopyToDevice(EagerContext* ctx, tensorflow::Device* dstd, |
| 466 | tensorflow::Tensor* output) { |
no test coverage detected