Searched refs:h_cpu (Results 1 – 1 of 1) sorted by relevance
522 tensorflow::TensorHandle* h_cpu = nullptr; in TFE_TensorHandleResolve() local529 h->handle->Context()->HostCPU()->name().c_str(), &h_cpu); in TFE_TensorHandleResolve()533 status->status = h_cpu->TensorAndDevice(&t, &d, &op_device); in TFE_TensorHandleResolve()535 h_cpu->Unref(); in TFE_TensorHandleResolve()544 h->handle->Context(), h->handle->Context()->HostCPU(), &h_cpu); in TFE_TensorHandleResolve()548 status->status = h_cpu->TensorAndDevice(&t, &d, &op_device); in TFE_TensorHandleResolve()550 h_cpu->Unref(); in TFE_TensorHandleResolve()556 if (h_cpu != nullptr) { in TFE_TensorHandleResolve()557 h_cpu->Unref(); in TFE_TensorHandleResolve()