Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_SessionListDevices (0.1 sec)

  1. tensorflow/c/c_api.cc

    }
    
    // --------------------------------------------------------------------------
    // ListDevices & SessionListDevices API
    
    void TF_DeleteDeviceList(TF_DeviceList* list) { delete list; }
    
    TF_DeviceList* TF_SessionListDevices(TF_Session* session, TF_Status* status) {
      TF_DeviceList* response = new TF_DeviceList;
      if (session && session->session)
        status->status = session->session->ListDevices(&response->response);
      return response;
    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