Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_CoordinationServiceIsInitialized (0.23 sec)

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

    TF_CAPI_EXPORT extern TF_CoordinationServiceAgent*
    TF_GetCoordinationServiceAgent(TF_OpKernelContext* ctx);
    
    // Returns true if the coordination service agent has been initialized.
    TF_CAPI_EXPORT extern bool TF_CoordinationServiceIsInitialized(
        TF_CoordinationServiceAgent* agent);
    
    TF_CAPI_EXPORT extern void TF_CoordinationServiceInsertKeyValue(
        const char* key, int64_t key_size, const char* value, int64_t value_size,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx);
      return reinterpret_cast<TF_CoordinationServiceAgent*>(
          cc_ctx->coordination_service_agent());
    }
    
    bool TF_CoordinationServiceIsInitialized(TF_CoordinationServiceAgent* agent) {
      if (agent == nullptr) return false;
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      return cc_agent->IsInitialized();
    }
    
    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)
Back to top