Compute Library
 22.05
TensorInfo.cpp File Reference

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2022 Arm Limited.
 
 arm_compute::test
 
 arm_compute::test::validation
 

Functions

 DATA_TEST_CASE (AutoPadding, framework::DatasetMode::ALL, zip(zip(zip(framework::dataset::make("TensorShape", { TensorShape{}, TensorShape{ 10U }, TensorShape{ 10U, 10U }, TensorShape{ 10U, 10U, 10U }, TensorShape{ 10U, 10U, 10U, 10U }, TensorShape{ 10U, 10U, 10U, 10U, 10U }, TensorShape{ 10U, 10U, 10U, 10U, 10U, 10U }}), framework::dataset::make("PaddingSize", { PaddingSize{ 0, 0, 0, 0 }, PaddingSize{ 0, 36, 0, 4 }, PaddingSize{ 4, 36, 4, 4 }, PaddingSize{ 4, 36, 4, 4 }, PaddingSize{ 4, 36, 4, 4 }, PaddingSize{ 4, 36, 4, 4 }, PaddingSize{ 4, 36, 4, 4 }})), framework::dataset::make("Strides", { Strides{}, Strides{ 1U, 50U }, Strides{ 1U, 50U }, Strides{ 1U, 50U, 900U }, Strides{ 1U, 50U, 900U, 9000U }, Strides{ 1U, 50U, 900U, 9000U, 90000U }, Strides{ 1U, 50U, 900U, 9000U, 90000U, 900000U }})), framework::dataset::make("Offset", { 0U, 4U, 204U, 204U, 204U, 204U, 204U })), shape, auto_padding, strides, offset)
 Validates TensorInfo Autopadding. More...
 
 TEST_CASE (Clone, framework::DatasetMode::ALL)
 Validates that TensorInfo is clonable. More...
 
 TEST_CASE (TensorInfoBuild, framework::DatasetMode::ALL)
 Validates that TensorInfo can chain multiple set commands. More...
 
 TEST_CASE (NoQuantizationInfo, framework::DatasetMode::ALL)
 Validates empty quantization info. More...
 
 TEST_CASE (SymmQuantizationInfo, framework::DatasetMode::ALL)
 Validates symmetric quantization info. More...
 
 TEST_CASE (AsymmQuantizationInfo, framework::DatasetMode::ALL)
 Validates asymmetric quantization info. More...
 
 TEST_CASE (SymmPerChannelQuantizationInfo, framework::DatasetMode::ALL)
 Validates symmetric per channel quantization info. More...