- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_DeleteCancellationManager (0.22 seconds)
-
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();
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_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`.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
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,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0)