Imported Upstream version 1.7.0
[platform/core/ml/nnfw.git] / tools / tflitefile_tool / tflite / SVDFOptions.py
old mode 100755 (executable)
new mode 100644 (file)
index 1e65dff..26ae85e
@@ -1,6 +1,6 @@
 # automatically generated by the FlatBuffers compiler, do not modify
 
-# namespace: tflite
+# namespace: onert_tflite
 
 import flatbuffers
 
@@ -33,9 +33,17 @@ class SVDFOptions(object):
             return self._tab.Get(flatbuffers.number_types.Int8Flags, o + self._tab.Pos)
         return 0
 
+    # SVDFOptions
+    def AsymmetricQuantizeInputs(self):
+        o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
+        if o != 0:
+            return bool(
+                self._tab.Get(flatbuffers.number_types.BoolFlags, o + self._tab.Pos))
+        return False
+
 
 def SVDFOptionsStart(builder):
-    builder.StartObject(2)
+    builder.StartObject(3)
 
 
 def SVDFOptionsAddRank(builder, rank):
@@ -46,5 +54,9 @@ def SVDFOptionsAddFusedActivationFunction(builder, fusedActivationFunction):
     builder.PrependInt8Slot(1, fusedActivationFunction, 0)
 
 
+def SVDFOptionsAddAsymmetricQuantizeInputs(builder, asymmetricQuantizeInputs):
+    builder.PrependBoolSlot(2, asymmetricQuantizeInputs, 0)
+
+
 def SVDFOptionsEnd(builder):
     return builder.EndObject()