Skip to content

Commit c46f9ef

Browse files
committed
Update mnn-schema.js
1 parent 4f52a81 commit c46f9ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/mnn-schema.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ MNN.IDSTQuan = class IDSTQuan {
269269
$.quantScale = reader.float32_(position, 12, 0);
270270
$.scaleIn = reader.float32_(position, 14, 0);
271271
$.scaleOut = reader.float32_(position, 16, 0);
272-
$.aMax = reader.int32_(position, 18, 0);
272+
$.aMaxOrBits = reader.int32_(position, 18, 0);
273273
$.aMin = reader.int32_(position, 20, 0);
274274
$.readType = reader.int32_(position, 22, 0);
275275
$.has_scaleInt = reader.bool_(position, 24, false);
@@ -288,7 +288,7 @@ MNN.IDSTQuan = class IDSTQuan {
288288
$.quantScale = reader.value(json.quantScale, 0);
289289
$.scaleIn = reader.value(json.scaleIn, 0);
290290
$.scaleOut = reader.value(json.scaleOut, 0);
291-
$.aMax = reader.value(json.aMax, 0);
291+
$.aMaxOrBits = reader.value(json.aMaxOrBits, 0);
292292
$.aMin = reader.value(json.aMin, 0);
293293
$.readType = reader.value(json.readType, 0);
294294
$.has_scaleInt = reader.value(json.has_scaleInt, false);

0 commit comments

Comments
 (0)