Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ServerDef (0.06 sec)

  1. tensorflow/c/c_api_experimental.cc

    }
    
    TF_Buffer* TFE_GetServerDef(const char* text_proto, TF_Status* status) {
      tensorflow::ServerDef server_def;
      if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto,
                                                             &server_def)) {
        status->status = tensorflow::errors::Internal(
            "Invalid text proto for ServerDef: ", text_proto);
        return nullptr;
      }
      status->status = absl::Status();
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  3. 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top