diff options
author | Jerry Ge <jerry.ge@arm.com> | 2024-06-05 22:08:30 +0000 |
---|---|---|
committer | Jerry Ge <jerry.ge@arm.com> | 2024-06-05 22:09:11 +0000 |
commit | 57ee868175bc18ea7ce8b92cf984f28702af3827 (patch) | |
tree | 5eeac4609290a5b71f45f0f124a3a48915fd5ee5 /include | |
parent | fdfefe91c79240775187726a5c7fa8fcda28df4b (diff) | |
download | serialization_lib-main.tar.gz |
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: Icb20951a3310935abcd1ebce512eac1ef81c9f42
Diffstat (limited to 'include')
-rw-r--r-- | include/tosa_generated.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/tosa_generated.h b/include/tosa_generated.h index a215891..994b72c 100644 --- a/include/tosa_generated.h +++ b/include/tosa_generated.h @@ -277,11 +277,12 @@ enum Op : uint32_t { Op_DIV_SHAPE = 78, Op_COS = 79, Op_SIN = 80, + Op_CAST_STOCHASTIC = 81, Op_MIN = Op_UNKNOWN, - Op_MAX = Op_SIN + Op_MAX = Op_CAST_STOCHASTIC }; -inline const Op (&EnumValuesOp())[81] { +inline const Op (&EnumValuesOp())[82] { static const Op values[] = { Op_UNKNOWN, Op_ARGMAX, @@ -363,13 +364,14 @@ inline const Op (&EnumValuesOp())[81] { Op_MUL_SHAPE, Op_DIV_SHAPE, Op_COS, - Op_SIN + Op_SIN, + Op_CAST_STOCHASTIC }; return values; } inline const char * const *EnumNamesOp() { - static const char * const names[82] = { + static const char * const names[83] = { "UNKNOWN", "ARGMAX", "AVG_POOL2D", @@ -451,13 +453,14 @@ inline const char * const *EnumNamesOp() { "DIV_SHAPE", "COS", "SIN", + "CAST_STOCHASTIC", nullptr }; return names; } inline const char *EnumNameOp(Op e) { - if (::flatbuffers::IsOutRange(e, Op_UNKNOWN, Op_SIN)) return ""; + if (::flatbuffers::IsOutRange(e, Op_UNKNOWN, Op_CAST_STOCHASTIC)) return ""; const size_t index = static_cast<size_t>(e); return EnumNamesOp()[index]; } |