- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for TFE_TensorHandleDevicePointer (0.14 seconds)
-
tensorflow/c/eager/custom_device_testutil.cc
if (TF_GetCode(s) != TF_OK) return; if (dev->device_name == input_device) { LoggedTensor* t = reinterpret_cast<LoggedTensor*>( TFE_TensorHandleDevicePointer(input, s)); if (TF_GetCode(s) != TF_OK) return; TFE_OpAddInput(op, t->tensor, s); } else { TFE_OpAddInput(op, input, s); } if (TF_GetCode(s) != TF_OK) return; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Dec 20 23:30:21 GMT 2025 - 8.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_TensorHandle* copy = TFE_TensorHandleCopyToDevice(m, ctx, name, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); void* data = TFE_TensorHandleDevicePointer(copy, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); size_t size = TFE_TensorHandleDeviceMemorySize(copy, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
tensorflow::AbstractTensorInterface* t = tensorflow::unwrap(h)->Resolve(&status->status); if (t == nullptr) { return nullptr; } return new TF_Tensor{t}; } void* TFE_TensorHandleDevicePointer(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return nullptr; }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
A. Unique TensorFlower <******@****.***> 1759988790 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)