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

Method TensorValue

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

Source from the content-addressed store, hash-verified

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

Callers 1

EagerKernelExecuteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected