Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_ServerTarget (0.07 sec)

  1. tensorflow/c/c_api.h

    // Returns the target string that can be provided to TF_SetTarget() to connect
    // a TF_Session to `server`.
    //
    // The returned string is valid only until TF_DeleteServer is invoked.
    TF_CAPI_EXPORT extern const char* TF_ServerTarget(TF_Server* server);
    
    // Destroy an in-process TensorFlow server, frees memory. If server is running
    // it will be stopped and joined.
    TF_CAPI_EXPORT extern void TF_DeleteServer(TF_Server* server);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

          "Server functionality is not supported on mobile");
    #else
      status->status = server->server->Join();
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    const char* TF_ServerTarget(TF_Server* server) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      return nullptr;
    #else
      return server->target.c_str();
    #endif
    }
    
    void TF_DeleteServer(TF_Server* server) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top