Lutz Roeder 4 лет назад
Родитель
Сommit
41e842ea71
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      source/tf-proto.js

+ 7 - 0
source/tf-proto.js

@@ -8364,6 +8364,7 @@ $root.tensorflow.ClusterDef = class ClusterDef {
 $root.tensorflow.CoordinationServiceConfig = class CoordinationServiceConfig {
 
     constructor() {
+        this.coordinated_jobs = [];
     }
 
     static decode(reader, length) {
@@ -8387,6 +8388,9 @@ $root.tensorflow.CoordinationServiceConfig = class CoordinationServiceConfig {
                 case 5:
                     message.heartbeat_timeout_in_ms = reader.int64();
                     break;
+                case 6:
+                    message.coordinated_jobs.push(reader.string());
+                    break;
                 default:
                     reader.skipType(tag & 7);
                     break;
@@ -8416,6 +8420,9 @@ $root.tensorflow.CoordinationServiceConfig = class CoordinationServiceConfig {
                 case "heartbeat_timeout_in_ms":
                     message.heartbeat_timeout_in_ms = reader.int64();
                     break;
+                case "coordinated_jobs":
+                    reader.array(message.coordinated_jobs, () => reader.string());
+                    break;
                 default:
                     reader.field(tag, message);
                     break;