Lutz Roeder 3 лет назад
Родитель
Сommit
52a4a41b23
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      source/tflite-schema.js

+ 2 - 4
source/tflite-schema.js

@@ -2479,15 +2479,13 @@ $root.tflite.DynamicUpdateSliceOptions = class DynamicUpdateSliceOptions {
 
 $root.tflite.UnsortedSegmentProdOptions = class UnsortedSegmentProdOptions {
 
-    static decode(reader, position) {
+    static decode(/* reader, position */) {
         const $ = new $root.tflite.UnsortedSegmentProdOptions();
-        $.num_segments = reader.int32_(position, 4, 0);
         return $;
     }
 
-    static decodeText(reader, json) {
+    static decodeText(/* reader, json */) {
         const $ = new $root.tflite.UnsortedSegmentProdOptions();
-        $.num_segments = reader.value(json.num_segments, 0);
         return $;
     }
 };