Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ServerDef (0.05 seconds)

  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();
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  2. 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,
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
  3. 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;
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  4. 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
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
Back to Top