IVGCVSW-7400 POW IVGCVSW-7278 SQUARED_DIFFERENCE.
* Added 2 new operators as ElementWiseBinary ops
* Ref End to End and unit tests
* Serialize and Deserialize tests
* Delegate and Opaque Delegate tests
* TfLite Parser tests
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I537158127f602f0c41ca0402aa31655cd3bd4281
diff --git a/delegate/test/ElementwiseBinaryTestHelper.hpp b/delegate/test/ElementwiseBinaryTestHelper.hpp
index fa9cbb8..fc75491 100644
--- a/delegate/test/ElementwiseBinaryTestHelper.hpp
+++ b/delegate/test/ElementwiseBinaryTestHelper.hpp
@@ -124,6 +124,18 @@
operatorBuiltinOptions = CreateSubOptions(flatBufferBuilder, activationType).Union();
break;
}
+ case BuiltinOperator_POW:
+ {
+ operatorBuiltinOptionsType = BuiltinOptions_PowOptions;
+ operatorBuiltinOptions = CreatePowOptions(flatBufferBuilder).Union();
+ break;
+ }
+ case BuiltinOperator_SQUARED_DIFFERENCE:
+ {
+ operatorBuiltinOptionsType = BuiltinOptions_SquaredDifferenceOptions;
+ operatorBuiltinOptions = CreateSquaredDifferenceOptions(flatBufferBuilder).Union();
+ break;
+ }
case BuiltinOperator_FLOOR_DIV:
{
operatorBuiltinOptionsType = tflite::BuiltinOptions_FloorDivOptions;