- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ServerDef (0.04 sec)
-
tensorflow/c/c_api_experimental_test.cc
job_name: "worker" task_index: 1 protocol: "grpc" )"); TF_Status* status = TF_NewStatus(); TF_Buffer* result = TFE_GetServerDef(expected_text_proto.c_str(), status); EXPECT_EQ(TF_GetCode(status), TF_OK); ServerDef actual; ASSERT_TRUE(actual.ParseFromArray(result->data, result->length)); string actual_text_proto; tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
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) -
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 Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
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) -
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)