Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tasks (0.21 sec)

  1. tensorflow/c/eager/c_api_test.cc

      // Add a client.
      job_def->mutable_tasks()->insert(
          {0, tensorflow::strings::StrCat(
                  "localhost:", tensorflow::testing::PickUnusedPortOrDie())});
    
      tensorflow::JobDef* job_def2 = cluster_def->add_job();
      job_def2->set_name("worker");
    
      // Copy over `host:port` at `task_index`
      for (auto task : cluster_server_def.cluster().job(0).tasks()) {
        if (task.first == task_index) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.h

    // A Server instance encapsulates a set of devices and a Session target that
    // can participate in distributed training. A server belongs to a cluster
    // (specified by a ClusterSpec), and corresponds to a particular task in a
    // named job. The server can communicate with any other server in the same
    // cluster.
    
    // In-process TensorFlow server.
    typedef struct TF_Server TF_Server;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top