fix: proto style (#136)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2023-07-10 14:06:16 +08:00 committed by GitHub
parent 28672b5cdb
commit f4daede5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 15 deletions

View File

@ -315,13 +315,10 @@ message ListApplicationsResponse {
message CreateGNNRequest {
// Protocol buffer file of model.
bytes data = 1 [(validate.rules).bytes.min_len = 1];
// Recall of the model.
double recall = 2 [(validate.rules).double = {gte: 0, lte: 1}];
// Precision of the model.
double precision = 3 [(validate.rules).double = {gte: 0, lte: 1}];
// F1-Score of the model.
double f1_score = 4 [(validate.rules).double = {gte: 0, lte: 1}];
}
@ -330,10 +327,8 @@ message CreateGNNRequest {
message CreateMLPRequest {
// Protocol buffer file of model.
bytes data = 1 [(validate.rules).bytes.min_len = 1];
// MSE of the model.
double mse = 2 [(validate.rules).double = {gte: 0}];
// MAE of the model.
double mae = 3 [(validate.rules).double = {gte: 0}];
}

View File

@ -309,13 +309,10 @@ message ListApplicationsResponse {
message CreateGNNRequest {
// Protocol buffer file of model.
bytes data = 1 [(validate.rules).bytes.min_len = 1];
// Recall of the model.
double recall = 2 [(validate.rules).double = {gte: 0, lte: 1}];
// Precision of the model.
double precision = 3 [(validate.rules).double = {gte: 0, lte: 1}];
// F1-Score of the model.
double f1_score = 4 [(validate.rules).double = {gte: 0, lte: 1}];
}
@ -324,10 +321,8 @@ message CreateGNNRequest {
message CreateMLPRequest {
// Protocol buffer file of model.
bytes data = 1 [(validate.rules).bytes.min_len = 1];
// MSE of the model.
double mse = 2 [(validate.rules).double = {gte: 0}];
// MAE of the model.
double mae = 3 [(validate.rules).double = {gte: 0}];
}

View File

@ -306,13 +306,10 @@ message ListApplicationsResponse {
message CreateGNNRequest {
// Protocol buffer file of model.
bytes data = 1;
// Recall of the model.
double recall = 2;
// Precision of the model.
double precision = 3;
// F1-Score of the model.
double f1_score = 4;
}
@ -321,10 +318,8 @@ message CreateGNNRequest {
message CreateMLPRequest {
// Protocol buffer file of model.
bytes data = 1;
// MSE of the model.
double mse = 2;
// MAE of the model.
double mae = 3;
}