- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Ghost (0.13 sec)
-
tensorflow/c/eager/c_api_test_util.cc
} void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index, const string& host, int port) { 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();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/eager/c_api_experimental.cc
(*sess_options.config.mutable_device_count())["CPU"] = num_cpus; status->status = tensorflow::DeviceFactory::AddCpuDevices(sess_options, prefix, &devices); // Remove the device that has the host device name since host device is alreay // in an initialized context. for (auto d = devices.begin(); d != devices.end();) { if (absl::StrContains(d->get()->name(), "CPU:0")) { d = devices.erase(d); } else {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3)