- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddOp (0.03 sec)
-
tensorflow/c/eager/c_api_test.cc
// Store pointer to raw buffer for validation of forwarding behaviour. TF_Tensor* orig = TFE_TensorHandleResolve(n, status); void* orig_ptr = TF_TensorData(orig); TF_DeleteTensor(orig); TFE_Op* add_op = AddOp(ctx, n, m); std::string cpu_device_name; ASSERT_TRUE(GetDeviceName(ctx, &cpu_device_name, "CPU")); TFE_OpSetDevice(add_op, cpu_device_name.c_str(), status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0)