From 50de4fa4e7e0dd02a442ba350a1b40f293cb5a01 Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Mon, 31 May 2021 18:47:33 +0100 Subject: 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 Change-Id: I498548169cc77609c55cf3105f1de5a7429772cf --- src/armnnSerializer/ArmnnSchema_generated.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/armnnSerializer/ArmnnSchema_generated.h') 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(e); return EnumNamesUnaryOperation()[index]; } -- cgit v1.2.1