소스 검색

Update tflite-schema.js

Lutz Roeder 3 년 전
부모
커밋
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 $;
     }
 };