Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ListDeviceNames (0.08 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat(host, ":", port);
    }
    
    std::vector<std::string> ListDeviceNames(TFE_Context* ctx) {
      TF_Status* status = TF_NewStatus();
      std::vector<std::string> device_names;
      TF_DeviceList* devices = TFE_ContextListDevices(ctx, status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top