Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetCoordinationServiceAgent (0.28 sec)

  1. tensorflow/c/eager/immediate_execution_distributed_manager.h

                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
      virtual tsl::CoordinationServiceAgent* GetCoordinationServiceAgent() = 0;
    };
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      tensorflow::ImmediateExecutionDistributedManager* dist_mgr =
          tensorflow::unwrap(ctx)->GetDistributedManager();
      tsl::CoordinationServiceAgent* coord_agent =
          dist_mgr->GetCoordinationServiceAgent();
      if (coord_agent == nullptr) {
        status->status = tensorflow::errors::FailedPrecondition(
            "Coordination service agent is not enabled.");
        return;
      }
    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/experimental/next_pluggable_device/c_api.h

    // opaque to plugin. Plugin OpKernels need to use the accompanying C APIs to
    // access coordination service functionalities.
    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);
    
    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)
  4. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      if (var_info != nullptr) {
        delete var_info;
      }
    }
    
    // ---------------------  Coordination service  --------------------------------
    TF_CoordinationServiceAgent* TF_GetCoordinationServiceAgent(
        TF_OpKernelContext* ctx) {
      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx);
      return reinterpret_cast<TF_CoordinationServiceAgent*>(
          cc_ctx->coordination_service_agent());
    }
    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