Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_CancellationManagerStartCancel (0.3 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern bool TFE_CancellationManagerIsCancelled(
        TFE_CancellationManager*);
    TF_CAPI_EXPORT extern bool TFE_CancellationManagerIsCancelling(
        TFE_CancellationManager*);
    TF_CAPI_EXPORT extern void TFE_CancellationManagerStartCancel(
        TFE_CancellationManager*);
    TF_CAPI_EXPORT extern TFE_CancellationToken TFE_CancellationManagerGetToken(
        TFE_CancellationManager*);
    TF_CAPI_EXPORT extern bool TFE_CancellationManagerRegisterCallback(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_TRUE(TFE_CancellationManagerDeregisterCallback(c_mgr, token1));
      EXPECT_TRUE(TFE_CancellationManagerTryDeregisterCallback(c_mgr, token3));
    
      TFE_CancellationManagerStartCancel(c_mgr);
      EXPECT_TRUE(TFE_CancellationManagerIsCancelled(c_mgr));
      EXPECT_TRUE(callback2_invoked);
      TFE_DeleteCancellationManager(c_mgr);
    }
    
    TEST(CAPI, ExecutorContextDestructionOrder) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

      options->use_tfrt = use_tfrt;
    }
    
    TFE_CancellationManager* TFE_NewCancellationManager() {
      return tensorflow::wrap(new tensorflow::CancellationManager);
    }
    
    void TFE_CancellationManagerStartCancel(
        TFE_CancellationManager* cancellation_manager) {
      tensorflow::unwrap(cancellation_manager)->StartCancel();
    }
    
    bool TFE_CancellationManagerIsCancelled(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top