From b1b2723815eac81689c219da3c82d4092e4c5b66 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Sat, 20 Dec 2025 13:47:29 -0800 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 847190131 --- tensorflow/c/eager/custom_device_testutil.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tensorflow/c/eager/custom_device_testutil.cc b/tensorflow/c/eager/custom_device_testutil.cc index f4221e765cd..d31bd6e4257 100644 --- a/tensorflow/c/eager/custom_device_testutil.cc +++ b/tensorflow/c/eager/custom_device_testutil.cc @@ -27,8 +27,8 @@ limitations under the License. namespace { struct LoggingDevice { - tensorflow::string device_name; - tensorflow::string underlying_device; + std::string device_name; + std::string underlying_device; // Set to true whenever a TensorHandle is copied onto the device bool* arrived_flag; // Set to true whenever an operation is executed @@ -59,9 +59,10 @@ void LoggedTensorDeallocator(void* data) { delete reinterpret_cast(data); } -TFE_TensorHandle* MakeLoggedTensorHandle( - TFE_Context* context, const tensorflow::string& logging_device_name, - std::unique_ptr t, TF_Status* status) { +TFE_TensorHandle* MakeLoggedTensorHandle(TFE_Context* context, + const std::string& logging_device_name, + std::unique_ptr t, + TF_Status* status) { auto dtype = TFE_TensorHandleDataType(t->tensor); TFE_CustomDeviceTensorHandleMethods handle_methods; handle_methods.num_dims = &LoggedTensorNumDims;