COMPMID-417: Use a common create_tensor function
Change-Id: I6b0511484a5b433ebec3fd62d778e64dcb4f89b5
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79362
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
diff --git a/tests/validation/NEON/ConvolutionLayerDirect.cpp b/tests/validation/NEON/ConvolutionLayerDirect.cpp
index 3ddb010..0f5cee6 100644
--- a/tests/validation/NEON/ConvolutionLayerDirect.cpp
+++ b/tests/validation/NEON/ConvolutionLayerDirect.cpp
@@ -22,7 +22,6 @@
* SOFTWARE.
*/
#include "Globals.h"
-#include "NEON/Helper.h"
#include "NEON/NEAccessor.h"
#include "TensorLibrary.h"
#include "TypePrinter.h"
@@ -69,10 +68,10 @@
DataType dt, PadStrideInfo conv_info, int fixed_point_position = 0)
{
// Create tensors
- Tensor src = create_tensor(src_shape, dt, 1, fixed_point_position);
- Tensor weights = create_tensor(weights_shape, dt, 1, fixed_point_position);
- Tensor bias = create_tensor(bias_shape, dt, 1, fixed_point_position);
- Tensor dst = create_tensor(dst_shape, dt, 1, fixed_point_position);
+ Tensor src = create_tensor<Tensor>(src_shape, dt, 1, fixed_point_position);
+ Tensor weights = create_tensor<Tensor>(weights_shape, dt, 1, fixed_point_position);
+ Tensor bias = create_tensor<Tensor>(bias_shape, dt, 1, fixed_point_position);
+ Tensor dst = create_tensor<Tensor>(dst_shape, dt, 1, fixed_point_position);
// Create and configure function
NEDirectConvolutionLayer conv_layer;