23.08
|
#include "arm_compute/core/TensorInfo.h"
#include "arm_compute/core/Types.h"
#include "tests/framework/Asserts.h"
#include "tests/framework/Macros.h"
#include "tests/framework/datasets/Datasets.h"
#include "tests/validation/Validation.h"
#include "utils/TypePrinter.h"
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2023 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... | |
TEST_CASE (SubTensorPaddingExpansion, framework::DatasetMode::ALL) | |
Validate when extending padding on sub-tensor. More... | |