Skip to content

Commit

Permalink
Update tf-proto.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Oct 15, 2021
1 parent 3e256dd commit 2270de5
Showing 1 changed file with 3 additions and 73 deletions.
76 changes: 3 additions & 73 deletions source/tf-proto.js
Original file line number Diff line number Diff line change
Expand Up @@ -6711,7 +6711,7 @@ $root.tensorflow.ConfigProto.Experimental = class Experimental {
message.use_tfrt = reader.bool();
break;
case 19:
message.coordination_service = $root.tensorflow.CoordinationServiceConfigs.decode(reader, reader.uint32());
message.coordination_service = reader.string();
break;
case 21:
message.disable_functional_ops_lowering = reader.bool();
Expand Down Expand Up @@ -6782,7 +6782,7 @@ $root.tensorflow.ConfigProto.Experimental = class Experimental {
message.use_tfrt = reader.bool();
break;
case "coordination_service":
message.coordination_service = $root.tensorflow.CoordinationServiceConfigs.decodeText(reader);
message.coordination_service = reader.string();
break;
case "disable_functional_ops_lowering":
message.disable_functional_ops_lowering = reader.bool();
Expand Down Expand Up @@ -6813,7 +6813,7 @@ $root.tensorflow.ConfigProto.Experimental.prototype.enable_mlir_graph_optimizati
$root.tensorflow.ConfigProto.Experimental.prototype.disable_output_partition_graphs = false;
$root.tensorflow.ConfigProto.Experimental.prototype.xla_fusion_autotuner_thresh = protobuf.Int64.create(0);
$root.tensorflow.ConfigProto.Experimental.prototype.use_tfrt = false;
$root.tensorflow.ConfigProto.Experimental.prototype.coordination_service = null;
$root.tensorflow.ConfigProto.Experimental.prototype.coordination_service = "";
$root.tensorflow.ConfigProto.Experimental.prototype.disable_functional_ops_lowering = false;

$root.tensorflow.ConfigProto.Experimental.MlirBridgeRollout = {
Expand Down Expand Up @@ -8354,76 +8354,6 @@ $root.tensorflow.ClusterDef = class ClusterDef {
}
};

$root.tensorflow.CoordinationServiceConfigs = class CoordinationServiceConfigs {

constructor() {
}

static decode(reader, length) {
const message = new $root.tensorflow.CoordinationServiceConfigs();
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.service_type = reader.string();
break;
case 2:
message.service_leader = reader.string();
break;
case 3:
message.enable_health_check = reader.bool();
break;
case 4:
message.cluster_register_timeout_in_ms = reader.int64();
break;
case 5:
message.heartbeat_timeout_in_ms = reader.int64();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
}

static decodeText(reader) {
const message = new $root.tensorflow.CoordinationServiceConfigs();
reader.start();
while (!reader.end()) {
const tag = reader.tag();
switch (tag) {
case "service_type":
message.service_type = reader.string();
break;
case "service_leader":
message.service_leader = reader.string();
break;
case "enable_health_check":
message.enable_health_check = reader.bool();
break;
case "cluster_register_timeout_in_ms":
message.cluster_register_timeout_in_ms = reader.int64();
break;
case "heartbeat_timeout_in_ms":
message.heartbeat_timeout_in_ms = reader.int64();
break;
default:
reader.field(tag, message);
break;
}
}
return message;
}
};

$root.tensorflow.CoordinationServiceConfigs.prototype.service_type = "";
$root.tensorflow.CoordinationServiceConfigs.prototype.service_leader = "";
$root.tensorflow.CoordinationServiceConfigs.prototype.enable_health_check = false;
$root.tensorflow.CoordinationServiceConfigs.prototype.cluster_register_timeout_in_ms = protobuf.Int64.create(0);
$root.tensorflow.CoordinationServiceConfigs.prototype.heartbeat_timeout_in_ms = protobuf.Int64.create(0);

$root.tensorflow.DebugTensorWatch = class DebugTensorWatch {

constructor() {
Expand Down

0 comments on commit 2270de5

Please sign in to comment.