diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2021-05-31 18:47:33 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2021-06-16 14:26:12 +0000 |
commit | 50de4fa4e7e0dd02a442ba350a1b40f293cb5a01 (patch) | |
tree | b37e0ae81033a1cb70911750affe2961682dd62d /src/armnnSerializer/ArmnnSchema_generated.h | |
parent | 2ef580100c8de1bf8acea854607ac1e552e9703f (diff) | |
download | armnn-50de4fa4e7e0dd02a442ba350a1b40f293cb5a01.tar.gz |
IVGCVSW-6088 Add Sin and Log to ElementWiseUnary
* Ref workload
* Cl workload
* Neon workload
* Serializer
* Deserializer
* Remove boost include from TensorTest.cpp
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I498548169cc77609c55cf3105f1de5a7429772cf
Diffstat (limited to 'src/armnnSerializer/ArmnnSchema_generated.h')
-rw-r--r-- | src/armnnSerializer/ArmnnSchema_generated.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/armnnSerializer/ArmnnSchema_generated.h b/src/armnnSerializer/ArmnnSchema_generated.h index fc55d9befa..675fcc6490 100644 --- a/src/armnnSerializer/ArmnnSchema_generated.h +++ b/src/armnnSerializer/ArmnnSchema_generated.h @@ -931,37 +931,43 @@ enum UnaryOperation { UnaryOperation_Exp = 3, UnaryOperation_Neg = 4, UnaryOperation_LogicalNot = 5, + UnaryOperation_Log = 6, + UnaryOperation_Sin = 7, UnaryOperation_MIN = UnaryOperation_Abs, - UnaryOperation_MAX = UnaryOperation_LogicalNot + UnaryOperation_MAX = UnaryOperation_Sin }; -inline const UnaryOperation (&EnumValuesUnaryOperation())[6] { +inline const UnaryOperation (&EnumValuesUnaryOperation())[8] { static const UnaryOperation values[] = { UnaryOperation_Abs, UnaryOperation_Rsqrt, UnaryOperation_Sqrt, UnaryOperation_Exp, UnaryOperation_Neg, - UnaryOperation_LogicalNot + UnaryOperation_LogicalNot, + UnaryOperation_Log, + UnaryOperation_Sin }; return values; } inline const char * const *EnumNamesUnaryOperation() { - static const char * const names[7] = { + static const char * const names[9] = { "Abs", "Rsqrt", "Sqrt", "Exp", "Neg", "LogicalNot", + "Log", + "Sin", nullptr }; return names; } inline const char *EnumNameUnaryOperation(UnaryOperation e) { - if (flatbuffers::IsOutRange(e, UnaryOperation_Abs, UnaryOperation_LogicalNot)) return ""; + if (flatbuffers::IsOutRange(e, UnaryOperation_Abs, UnaryOperation_Sin)) return ""; const size_t index = static_cast<size_t>(e); return EnumNamesUnaryOperation()[index]; } |