| 279 | } |
| 280 | |
| 281 | Status TensorHandle::TensorValue(tensorflow::TensorValue* t) { |
| 282 | TF_RETURN_IF_ERROR(WaitReady()); |
| 283 | return tensor_handle_data_->TensorValue(t); |
| 284 | } |
| 285 | |
| 286 | Device* TensorHandle::DeviceOrHostCPU(EagerContext* ctx) const { |
| 287 | return (device_ == nullptr) ? ctx->HostCPU() : device_; |
no outgoing calls
no test coverage detected