|
|
@@ -134,7 +134,8 @@ tflite_schema.BuiltinOperator = {
|
|
|
LEAKY_RELU: 98, 98: 'LEAKY_RELU',
|
|
|
SQUARED_DIFFERENCE: 99, 99: 'SQUARED_DIFFERENCE',
|
|
|
MIRROR_PAD: 100, 100: 'MIRROR_PAD',
|
|
|
- ABS: 101, 101: 'ABS'
|
|
|
+ ABS: 101, 101: 'ABS',
|
|
|
+ SPLIT_V: 102, 102: 'SPLIT_V'
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
@@ -219,7 +220,8 @@ tflite_schema.BuiltinOptions = {
|
|
|
LeakyReluOptions: 75, 75: 'LeakyReluOptions',
|
|
|
SquaredDifferenceOptions: 76, 76: 'SquaredDifferenceOptions',
|
|
|
MirrorPadOptions: 77, 77: 'MirrorPadOptions',
|
|
|
- AbsOptions: 78, 78: 'AbsOptions'
|
|
|
+ AbsOptions: 78, 78: 'AbsOptions',
|
|
|
+ SplitVOptions: 79, 79: 'SplitVOptions'
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
@@ -4136,6 +4138,73 @@ tflite_schema.SplitOptions.endSplitOptions = function(builder) {
|
|
|
return offset;
|
|
|
};
|
|
|
|
|
|
+/**
|
|
|
+ * @constructor
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions = function() {
|
|
|
+ /**
|
|
|
+ * @type {flatbuffers.ByteBuffer}
|
|
|
+ */
|
|
|
+ this.bb = null;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @type {number}
|
|
|
+ */
|
|
|
+ this.bb_pos = 0;
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {number} i
|
|
|
+ * @param {flatbuffers.ByteBuffer} bb
|
|
|
+ * @returns {tflite_schema.SplitVOptions}
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions.prototype.__init = function(i, bb) {
|
|
|
+ this.bb_pos = i;
|
|
|
+ this.bb = bb;
|
|
|
+ return this;
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {flatbuffers.ByteBuffer} bb
|
|
|
+ * @param {tflite_schema.SplitVOptions=} obj
|
|
|
+ * @returns {tflite_schema.SplitVOptions}
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions.getRootAsSplitVOptions = function(bb, obj) {
|
|
|
+ return (obj || new tflite_schema.SplitVOptions).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * @returns {number}
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions.prototype.numSplits = function() {
|
|
|
+ var offset = this.bb.__offset(this.bb_pos, 4);
|
|
|
+ return offset ? this.bb.readInt32(this.bb_pos + offset) : 0;
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {flatbuffers.Builder} builder
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions.startSplitVOptions = function(builder) {
|
|
|
+ builder.startObject(1);
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {flatbuffers.Builder} builder
|
|
|
+ * @param {number} numSplits
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions.addNumSplits = function(builder, numSplits) {
|
|
|
+ builder.addFieldInt32(0, numSplits, 0);
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {flatbuffers.Builder} builder
|
|
|
+ * @returns {flatbuffers.Offset}
|
|
|
+ */
|
|
|
+tflite_schema.SplitVOptions.endSplitVOptions = function(builder) {
|
|
|
+ var offset = builder.endObject();
|
|
|
+ return offset;
|
|
|
+};
|
|
|
+
|
|
|
/**
|
|
|
* @constructor
|
|
|
*/
|