31 #include "tests/datasets/LargeGEMMDataset.h" 32 #include "tests/datasets/SmallGEMMDataset.h" 37 #include "tests/validation/fixtures/GEMMFixture.h" 47 RelativeTolerance<float> tolerance_f32(0.001f);
78 gemm.
configure(&a, &b, &c, &dst, alpha, beta);
82 using GCGEMMFixture = GEMMValidationFixture<GCTensor, GCAccessor, GCGEMM, T>;
bool is_resizable() const override
Flag indicating whether the size of the tensor can be changed.
Accessor implementation for GCTensor objects.
1 channel, 1 F32 per channel
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
Interface for OpenGL ES tensor.
This file contains all available output stages for GEMMLowp on OpenCL.
#define TEST_SUITE(SUITE_NAME)
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsoluteDifferenceFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), AbsoluteDifferenceU8Dataset))
validate(dst.info() ->valid_region(), dst_valid_region)
DatasetMode
Possible dataset modes.
GEMMValidationFixture< GCTensor, GCAccessor, GCGEMM, T > GCGEMMFixture
bool is_data_type_fixed_point(DataType dt)
Check if a given data type is of fixed point type.
DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), AbsoluteDifferenceU8Dataset), shape, data_type0, data_type1, output_data_type)
TEST_SUITE_END() DATA_TEST_CASE(Configuration
ARM_COMPUTE_EXPECT(src.info() ->is_resizable(), framework::LogLevel::ERRORS)
void configure(const ICLTensor *a, const ICLTensor *b, const ICLTensor *c, ICLTensor *output, float alpha, float beta, const GEMMInfo &gemm_info=GEMMInfo())
Initialise the kernel's inputs and output.
combine(combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("DataType",{DataType::U8, DataType::S16})), datasets::BorderModes()), framework::dataset::make("filter_size",{5}))
JoinDataset< T, U > concat(T &&dataset1, U &&dataset2)
Helper function to create a JoinDataset.
Basic function to execute GEMM on OpenGLES Compute.
DataType
Available data types.
TensorInfo * info() const override
Interface to be implemented by the child class to return the tensor's metadata.