aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2021-11-03 17:02:57 -0700
committerEric Kunze <eric.kunze@arm.com>2021-11-03 17:22:55 -0700
commita687b616fdd6d6ff7c4e84498bc3cb9789769ecf (patch)
tree6b4962f6a1bcb94cc37fb5c3ce1b736b0dd38ec8
parent5867c9afd41843c167ad7595fdc6ef155e50cb29 (diff)
downloadserialization_lib-a687b616fdd6d6ff7c4e84498bc3cb9789769ecf.tar.gz
Increment version to 0.24.0 draft
Main branch is now 0.24.0 draft version. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I053fc2f87c05e3237c10a8d41b1833591087651a
-rw-r--r--include/tosa_generated.h12
-rw-r--r--include/tosa_serialization_handler.h4
-rw-r--r--python/tosa/Version.py8
-rw-r--r--python/tosa_serializer.py4
-rw-r--r--schema/tosa.fbs4
5 files changed, 16 insertions, 16 deletions
diff --git a/include/tosa_generated.h b/include/tosa_generated.h
index 27e7abe..8ce0606 100644
--- a/include/tosa_generated.h
+++ b/include/tosa_generated.h
@@ -2018,13 +2018,13 @@ struct Version FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
return GetField<int32_t>(VT__MAJOR, 0);
}
int32_t _minor() const {
- return GetField<int32_t>(VT__MINOR, 23);
+ return GetField<int32_t>(VT__MINOR, 24);
}
int32_t _patch() const {
return GetField<int32_t>(VT__PATCH, 0);
}
bool _draft() const {
- return GetField<uint8_t>(VT__DRAFT, 0) != 0;
+ return GetField<uint8_t>(VT__DRAFT, 1) != 0;
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
@@ -2044,13 +2044,13 @@ struct VersionBuilder {
fbb_.AddElement<int32_t>(Version::VT__MAJOR, _major, 0);
}
void add__minor(int32_t _minor) {
- fbb_.AddElement<int32_t>(Version::VT__MINOR, _minor, 23);
+ fbb_.AddElement<int32_t>(Version::VT__MINOR, _minor, 24);
}
void add__patch(int32_t _patch) {
fbb_.AddElement<int32_t>(Version::VT__PATCH, _patch, 0);
}
void add__draft(bool _draft) {
- fbb_.AddElement<uint8_t>(Version::VT__DRAFT, static_cast<uint8_t>(_draft), 0);
+ fbb_.AddElement<uint8_t>(Version::VT__DRAFT, static_cast<uint8_t>(_draft), 1);
}
explicit VersionBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
@@ -2067,9 +2067,9 @@ struct VersionBuilder {
inline flatbuffers::Offset<Version> CreateVersion(
flatbuffers::FlatBufferBuilder &_fbb,
int32_t _major = 0,
- int32_t _minor = 23,
+ int32_t _minor = 24,
int32_t _patch = 0,
- bool _draft = false) {
+ bool _draft = true) {
VersionBuilder builder_(_fbb);
builder_.add__patch(_patch);
builder_.add__minor(_minor);
diff --git a/include/tosa_serialization_handler.h b/include/tosa_serialization_handler.h
index b67c002..a60e506 100644
--- a/include/tosa_serialization_handler.h
+++ b/include/tosa_serialization_handler.h
@@ -28,9 +28,9 @@
// Keep version number in sync with the version default value with schema/tosa.fbs
#define TOSA_VERSION_MAJOR 0
-#define TOSA_VERSION_MINOR 23
+#define TOSA_VERSION_MINOR 24
#define TOSA_VERSION_PATCH 0
-#define TOSA_VERSION_DRAFT false
+#define TOSA_VERSION_DRAFT true
#define TENSOR_BUFFER_FORCE_ALIGNMENT 8
namespace tosa
diff --git a/python/tosa/Version.py b/python/tosa/Version.py
index f12715d..95df414 100644
--- a/python/tosa/Version.py
+++ b/python/tosa/Version.py
@@ -36,7 +36,7 @@ class Version(object):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
if o != 0:
return self._tab.Get(flatbuffers.number_types.Int32Flags, o + self._tab.Pos)
- return 23
+ return 24
# Version
def _patch(self):
@@ -50,11 +50,11 @@ class Version(object):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
if o != 0:
return bool(self._tab.Get(flatbuffers.number_types.BoolFlags, o + self._tab.Pos))
- return False
+ return True
def VersionStart(builder): builder.StartObject(4)
def VersionAdd_major(builder, Major): builder.PrependInt32Slot(0, Major, 0)
-def VersionAdd_minor(builder, Minor): builder.PrependInt32Slot(1, Minor, 23)
+def VersionAdd_minor(builder, Minor): builder.PrependInt32Slot(1, Minor, 24)
def VersionAdd_patch(builder, Patch): builder.PrependInt32Slot(2, Patch, 0)
-def VersionAdd_draft(builder, Draft): builder.PrependBoolSlot(3, Draft, 0)
+def VersionAdd_draft(builder, Draft): builder.PrependBoolSlot(3, Draft, 1)
def VersionEnd(builder): return builder.EndObject()
diff --git a/python/tosa_serializer.py b/python/tosa_serializer.py
index c250305..6915c83 100644
--- a/python/tosa_serializer.py
+++ b/python/tosa_serializer.py
@@ -37,9 +37,9 @@ import tosa
# Keep version number in sync with the version default value with schema/tosa.fbs
TOSA_VERSION_MAJOR = 0
-TOSA_VERSION_MINOR = 23
+TOSA_VERSION_MINOR = 24
TOSA_VERSION_PATCH = 0
-TOSA_VERSION_DRAFT = False
+TOSA_VERSION_DRAFT = True
TOSA_VERSION = [TOSA_VERSION_MAJOR,
TOSA_VERSION_MINOR,
TOSA_VERSION_PATCH,
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index 885eb62..33075ed 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -281,9 +281,9 @@ table PadQuantInfo {
table Version {
_major: int32 = 0;
- _minor: int32 = 23;
+ _minor: int32 = 24;
_patch: int32 = 0;
- _draft: bool = false;
+ _draft: bool = true;
}
table TosaTensor {