- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_DeleteCancellationManager (0.14 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
TFE_CancellationManagerStartCancel(c_mgr); EXPECT_TRUE(TFE_CancellationManagerIsCancelled(c_mgr)); EXPECT_TRUE(callback2_invoked); TFE_DeleteCancellationManager(c_mgr); } TEST(CAPI, ExecutorContextDestructionOrder) { TF_Status* status = TF_NewStatus(); { TFE_ContextOptions* opts = TFE_NewContextOptions();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
TFE_CancellationManager* cancellation_manager, TFE_CancellationToken token) { return tensorflow::unwrap(cancellation_manager)->TryDeregisterCallback(token); } void TFE_DeleteCancellationManager( TFE_CancellationManager* cancellation_manager) { delete tensorflow::unwrap(cancellation_manager); } void TFE_OpSetCancellationManager(TFE_Op* op,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TFE_CancellationManager*, TFE_CancellationToken token); TF_CAPI_EXPORT extern bool TFE_CancellationManagerTryDeregisterCallback( TFE_CancellationManager*, TFE_CancellationToken token); TF_CAPI_EXPORT extern void TFE_DeleteCancellationManager( TFE_CancellationManager*); // Associates the given `cancellation_manager` with `op`, so that invoking // `TFE_CancellationManagerStartCancel(cancellation_manager)` will cancel the // execution of `op`.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)