Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for ServerDef (0.07 sec)

  1. tensorflow/c/eager/c_api.cc

          "TFE_ContextSetServerDef not supported on mobile");
    #else   // !defined(IS_MOBILE_PLATFORM)
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, proto_len)) {
        status->status = tensorflow::errors::InvalidArgument(
            "Invalid tensorflow.ServerDef protocol buffer");
        return;
      }
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test_util.cc

                                       bool remote_func_outputs,
                                       bool has_packed_input) {
      CHECK(!has_packed_input || func);
      tensorflow::ServerDef server_def = GetServerDef(3);
    
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    TFE_ContextGetDevicePlacementPolicy(TFE_Context* ctx);
    
    // A tensorflow.ServerDef specifies remote workers (in addition to the current
    // workers name). Operations created in this context can then be executed on
    // any of these remote workers by setting an appropriate device.
    //
    // If the following is set, all servers identified by the
    // ServerDef must be up when the context is created.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

      w0.release();
      w1.release();
    }
    
    TEST(CAPI, ShareVariableAcrossContextsAfterUpdateContextWorksWithTimeout) {
      tensorflow::ServerDef server_def_0 = GetServerDef(3);
      server_def_0.mutable_default_session_config()->set_isolate_session_state(
          false);
      tensorflow::ServerDef server_def_1 =
          ReplaceTaskInServerDef(server_def_0, /*task_index=*/0);
    
      // These server defs have task index set to 0.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  5. 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 absl::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(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

                                                     TF_Tensor* tensor,
                                                     TF_Status* status);
    // Create a serialized tensorflow.ServerDef proto.
    TF_Buffer* TFE_GetServerDef(const char* text_proto, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_MakeInternalErrorStatus(TF_Status* status,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

                                        const void* proto, size_t proto_len,
                                        TF_Status* status) {
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, proto_len)) {
        status->status = tensorflow::errors::InvalidArgument(
            "Invalid tensorflow.ServerDef protocol buffer");
        return;
      }
      status->status =
          tensorflow::unwrap(ctx)
              ->GetDistributedManager()
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

    // Dynamic cluster API.
    
    // Update an existing context with a new set of servers defined in a ServerDef
    // proto. Servers can be added to and removed from the list of remote workers
    // in the context. A New set of servers identified by the ServerDef must be up
    // when the context is updated.
    //
    // This API is for experimental usage and may be subject to change.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

          "Server functionality is not supported on mobile");
      return nullptr;
    #else
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, static_cast<int>(proto_len))) {
        status->status = InvalidArgument(
            "Could not parse provided bytes into a ServerDef protocol buffer");
        return nullptr;
      }
    
      std::unique_ptr<tensorflow::ServerInterface> out_server;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // cluster.
    
    // In-process TensorFlow server.
    typedef struct TF_Server TF_Server;
    
    // Creates a new in-process TensorFlow server configured using a serialized
    // ServerDef protocol buffer provided via `proto` and `proto_len`.
    //
    // The server will not serve any requests until TF_ServerStart is invoked.
    // The server will stop serving requests once TF_ServerStop or
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top