Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for cluster4 (0.19 sec)

  1. tensorflow/c/experimental/grappler/grappler_internal.h

      bool UsesFunctionLibrary() const override { return false; }
      Status Init(
          const tensorflow::RewriterConfig_CustomGraphOptimizer* config) override {
        return OkStatus();
      }
      Status Optimize(Cluster* cluster, const GrapplerItem& item,
                      GraphDef* optimized_graph_def) override;
    
      ~CGraphOptimizer() override {
        if (optimizer_.destroy_func != nullptr) {
          (*optimizer_.destroy_func)(c_optimizer_);
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_test.cc

        const tensorflow::ServerDef& cluster_server_def, int task_index) {
      tensorflow::ServerDef single_host_server_def;
      single_host_server_def.set_job_name("worker");
      single_host_server_def.set_protocol(cluster_server_def.protocol());
      single_host_server_def.set_task_index(0);
      tensorflow::ClusterDef* cluster_def =
          single_host_server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->add_job();
    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)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      server_def.set_task_index(0);
      auto cluster = server_def.mutable_cluster();
      auto client_job = cluster->add_job();
      client_job->set_name("localhost");
      int client_port = tensorflow::testing::PickUnusedPortOrDie();
      client_job->mutable_tasks()->insert(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/eager/immediate_execution_distributed_manager.h

     public:
      virtual ~ImmediateExecutionDistributedManager() {}
    
      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      tensorflow::ServerDef server_def;
      server_def.set_protocol("grpc");
      server_def.set_job_name(job_name);
      server_def.set_task_index(0);
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->add_job();
      job_def->set_name(job_name);
      for (int i = 0; i < num_tasks; i++) {
        int port = tensorflow::testing::PickUnusedPortOrDie();
        job_def->mutable_tasks()->insert(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/BUILD

            "//tensorflow/core:framework",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
            "//tensorflow/core/grappler:grappler_item",
            "//tensorflow/core/grappler/clusters:single_machine",
            "//tensorflow/core/grappler/costs:graph_properties",
            "//tensorflow/core/grappler/inputs:trivial_test_graph_input_yielder",
            "//tensorflow/core/protobuf:error_codes_proto_impl_cc",
        ],
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.cc

      return absl::OkStatus();
    }
    
    #undef VALIDATE_MEMBER
    #undef VALIDATE_STRUCT_SIZE
    }  // namespace
    
    namespace tensorflow {
    namespace grappler {
    
    Status CGraphOptimizer::Optimize(Cluster* cluster, const GrapplerItem& item,
                                     GraphDef* optimized_graph_def) {
      OwnedTFStatus c_status(TF_NewStatus());
      OwnedTFBuffer graph_buf(TF_NewBuffer());
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api_experimental.h

    // If coordination service is enabled, the key-value will be stored on the
    // leader and become accessible to all workers in the cluster.
    // Currently, a config key can only be set with one value, and subsequently
    // setting the same key will lead to errors.
    //
    // Note that the key-values are only expected to be used for cluster
    // configuration data, and should not be used for storing a large amount of data
    // or being accessed very frequently.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test_util.cc

      tensorflow::ServerDef server_def;
      server_def.set_protocol("grpc");
      server_def.set_job_name(job_name);
      server_def.set_task_index(0);
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->add_job();
      job_def->set_name(job_name);
      for (int i = 0; i < num_tasks; i++) {
        int port = tensorflow::testing::PickUnusedPortOrDie();
        job_def->mutable_tasks()->insert(
    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)
  10. tensorflow/c/eager/immediate_execution_context.h

      // all tasks in the cluster.
      // This call internally coordinates with other tasks to initialize the eager
      // context and TF server for multi-client execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Set a distributed manager that helps set up, update, and check liveness
      // of member tasks in the cluster.
      virtual void SetDistributedManager(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top