- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for TFE_ContextAsyncWait (0.18 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/eager/c_api_distributed_test.cc
TFE_TensorHandle* h2 = TestVariable(ctx, 3.0, task0_name); // Add a sync point to make sure that variables have been initialized // before the function execution starts. TFE_ContextAsyncWait(ctx, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // Pack 3 variable handles into one TFE_TensorHandle. // When remote is false, function device is placed on task0. Handle types are
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 23.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2"); // 2. Wait for `var2` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); // 3. Read `var_2` using `ctx_1`. This read should succeed since `ctx_1` was
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) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var"); // 2. Wait for `var` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); int port = tensorflow::testing::PickUnusedPortOrDie();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::unwrap(ctx)->GetDistributedManager()->CheckRemoteAlive( worker_name, &is_alive); return is_alive; #endif // !IS_MOBILE_PLATFORM } TF_CAPI_EXPORT extern void TFE_ContextAsyncWait(TFE_Context* ctx, TF_Status* status) { #if defined(IS_MOBILE_PLATFORM) status->status = tensorflow::OkStatus(); #else // !defined(IS_MOBILE_PLATFORM)
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)