aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/CL/UNIT/DynamicTensor.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-10-10 19:35:43 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-10-11 15:29:51 +0000
commit3d426c5894803e3de7f706b8dd9125dccca22bc4 (patch)
treef618c1e73efd06e7085e78a37e765e1d84d7013b /tests/validation/CL/UNIT/DynamicTensor.cpp
parentdf2c7219c77191a8dd5635eb07a1323601fe0970 (diff)
downloadComputeLibrary-3d426c5894803e3de7f706b8dd9125dccca22bc4.tar.gz
COMPMID-2697: Dynamic Tensors Type2 test case
Change-Id: I8b8ac272e6c49dc51570fb0612d74f29772371e7 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/2072 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'tests/validation/CL/UNIT/DynamicTensor.cpp')
-rw-r--r--tests/validation/CL/UNIT/DynamicTensor.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/validation/CL/UNIT/DynamicTensor.cpp b/tests/validation/CL/UNIT/DynamicTensor.cpp
index 06670478b2..85381efe62 100644
--- a/tests/validation/CL/UNIT/DynamicTensor.cpp
+++ b/tests/validation/CL/UNIT/DynamicTensor.cpp
@@ -126,6 +126,16 @@ FIXTURE_DATA_TEST_CASE(DynamicTensorType3Complex, CLDynamicTensorType3ComplexFun
}
}
+using CLDynamicTensorType2PipelineFunction = DynamicTensorType2PipelineFunction<CLTensor, CLAccessor, BlobMemoryManagementService, CLConvolutionLayer>;
+/** Tests the memory manager with dynamic input and output tensors.
+ *
+ * Create and manage the tensors needed to run a pipeline. After the function is executed, resize the input size and rerun.
+ */
+FIXTURE_DATA_TEST_CASE(DynamicTensorType2Pipeline, CLDynamicTensorType2PipelineFunction, framework::DatasetMode::ALL,
+ framework::dataset::make("InputShape", { std::vector<TensorShape>{ TensorShape(12U, 12U, 6U), TensorShape(128U, 128U, 6U) } }))
+{
+}
+
TEST_SUITE_END() // DynamicTensor
TEST_SUITE_END() // UNIT
TEST_SUITE_END() // CL