Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for invoke (0.31 sec)

  1. tensorflow/c/experimental/next_pluggable_device/c_api.cc

        TF_CoordinationServiceAgent* agent, TF_Status* status) {
      if (timeout_seconds <= 0) {
        status->status = absl::InvalidArgumentError(
            "TF_CoordinationServiceGetKeyValueWithTimeout invoked with invalid "
            "timeout_seconds <= 0.");
        return nullptr;
      }
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      auto value = cc_agent->GetKeyValue(std::string_view(key, key_size),
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental_test.cc

                                                          "callback1"));
    
      TFE_CancelCallback callback2;
      bool callback2_invoked = false;
      callback2.context = &callback2_invoked;
      callback2.callback = [](void* context) {
        *reinterpret_cast<bool*>(context) = true;
      };
      TFE_CancellationToken token2 = TFE_CancellationManagerGetToken(c_mgr);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
Back to top