Skip to content
Permalink
Browse files

Update tflite-schema.js

  • Loading branch information...
lutzroeder committed Dec 21, 2018
1 parent 4db0f9a commit 3baedd86a15bcd7b5a98c935fa63cdfe45790c9c
Showing with 17 additions and 1 deletion.
  1. +17 −1 src/tflite-schema.js
@@ -2754,11 +2754,19 @@ tflite_schema.BidirectionalSequenceLSTMOptions.prototype.mergeOutputs = function
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
};

/**
* @returns {boolean}
*/
tflite_schema.BidirectionalSequenceLSTMOptions.prototype.timeMajor = function() {
var offset = this.bb.__offset(this.bb_pos, 12);
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : true;
};

/**
* @param {flatbuffers.Builder} builder
*/
tflite_schema.BidirectionalSequenceLSTMOptions.startBidirectionalSequenceLSTMOptions = function(builder) {
builder.startObject(4);
builder.startObject(5);
};

/**
@@ -2793,6 +2801,14 @@ tflite_schema.BidirectionalSequenceLSTMOptions.addMergeOutputs = function(builde
builder.addFieldInt8(3, +mergeOutputs, +false);
};

/**
* @param {flatbuffers.Builder} builder
* @param {boolean} timeMajor
*/
tflite_schema.BidirectionalSequenceLSTMOptions.addTimeMajor = function(builder, timeMajor) {
builder.addFieldInt8(4, +timeMajor, +true);
};

/**
* @param {flatbuffers.Builder} builder
* @returns {flatbuffers.Offset}

0 comments on commit 3baedd8

Please sign in to comment.
You can’t perform that action at this time.