Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_DeleteServer (0.08 sec)

  1. tensorflow/c/c_api.h

    // 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);
    
    // Register a listener method that processes printed messages.
    //
    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

    }
    
    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) {
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      delete server;
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    }
    
    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