Skip to content

Commit 88646f4

Browse files
committed
Update tf-proto.js
1 parent 02a6077 commit 88646f4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

source/tf-proto.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9823,6 +9823,12 @@ tensorflow.BatchingOptions = class BatchingOptions {
98239823
case 5:
98249824
message.max_enqueued_batches = reader.int32();
98259825
break;
9826+
case 6:
9827+
message.enable_large_batch_splitting = reader.bool();
9828+
break;
9829+
case 7:
9830+
message.mixed_priority_batching_policy = reader.string();
9831+
break;
98269832
default:
98279833
reader.skipType(tag & 7);
98289834
break;
@@ -9852,6 +9858,12 @@ tensorflow.BatchingOptions = class BatchingOptions {
98529858
case "max_enqueued_batches":
98539859
message.max_enqueued_batches = reader.int32();
98549860
break;
9861+
case "enable_large_batch_splitting":
9862+
message.enable_large_batch_splitting = reader.bool();
9863+
break;
9864+
case "mixed_priority_batching_policy":
9865+
message.mixed_priority_batching_policy = reader.string();
9866+
break;
98559867
default:
98569868
reader.field(tag, message);
98579869
break;
@@ -9877,6 +9889,12 @@ tensorflow.BatchingOptions = class BatchingOptions {
98779889
if ('maxEnqueuedBatches' in obj) {
98789890
message.max_enqueued_batches = Number(obj.maxEnqueuedBatches);
98799891
}
9892+
if ('enableLargeBatchSplitting' in obj) {
9893+
message.enable_large_batch_splitting = obj.enableLargeBatchSplitting;
9894+
}
9895+
if ('mixedPriorityBatchingPolicy' in obj) {
9896+
message.mixed_priority_batching_policy = obj.mixedPriorityBatchingPolicy;
9897+
}
98809898
return message;
98819899
}
98829900
};
@@ -9885,6 +9903,8 @@ tensorflow.BatchingOptions.prototype.num_batch_threads = 0;
98859903
tensorflow.BatchingOptions.prototype.max_batch_size = 0;
98869904
tensorflow.BatchingOptions.prototype.batch_timeout_micros = 0;
98879905
tensorflow.BatchingOptions.prototype.max_enqueued_batches = 0;
9906+
tensorflow.BatchingOptions.prototype.enable_large_batch_splitting = false;
9907+
tensorflow.BatchingOptions.prototype.mixed_priority_batching_policy = "";
98889908

98899909
tensorflow.CoordinatedJob = class CoordinatedJob {
98909910

0 commit comments

Comments
 (0)