Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_CancellationManagerGetToken (0.23 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

        *reinterpret_cast<bool*>(context) = true;
      };
      TFE_CancellationToken token2 = TFE_CancellationManagerGetToken(c_mgr);
      EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token2, &callback2,
                                                          "callback2"));
    
      TFE_CancellationToken token3 = TFE_CancellationManagerGetToken(c_mgr);
      EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token3, &callback1,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental.cc

    }
    
    bool TFE_CancellationManagerIsCancelling(
        TFE_CancellationManager* cancellation_manager) {
      return tensorflow::unwrap(cancellation_manager)->IsCancelling();
    }
    
    TFE_CancellationToken TFE_CancellationManagerGetToken(
        TFE_CancellationManager* cancellation_manager) {
      return tensorflow::unwrap(cancellation_manager)->get_cancellation_token();
    }
    
    bool TFE_CancellationManagerRegisterCallback(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_experimental.h

        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(
        TFE_CancellationManager*, TFE_CancellationToken token,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top