48 constexpr
float tolerance_num = 0.07f;
61 DATA_TEST_CASE(Configuration, framework::
DatasetMode::ALL,
combine(framework::dataset::
concat(datasets::SmallConvolutionLayerDataset(), datasets::LargeConvolutionLayerDataset()), CNNDataTypes),
70 GCTensor
src = create_tensor<GCTensor>(input_shape,
data_type, 1, fixed_point_position, QuantizationInfo(2.f / 255.f, 127));
71 GCTensor weights = create_tensor<GCTensor>(weights_shape,
data_type, 1, fixed_point_position, QuantizationInfo(2.f / 255.f, 127));
72 GCTensor bias = create_tensor<GCTensor>(bias_shape, bias_data_type, 1, fixed_point_position, QuantizationInfo(2.f / 255.f, 127));
73 GCTensor
dst = create_tensor<GCTensor>(
output_shape,
data_type, 1, fixed_point_position, QuantizationInfo(2.f / 255.f, 127));
80 const QuantizationInfo src_quantization_info = src.info()->quantization_info();
81 const QuantizationInfo weights_quantization_info = weights.info()->quantization_info();
84 GCConvolutionLayer
conv;
85 conv.configure(&src, &weights, &bias, &dst, info);
93 validate(src.info()->valid_region(), src_valid_region);
94 validate(weights.info()->valid_region(), weights_valid_region);
95 validate(bias.info()->valid_region(), bias_valid_region);
103 template <
typename T>
109 framework::dataset::
make("ReshapeWeights", {
true,
false })),
Accessor implementation for GCTensor objects.
-
half_float::half half
16-bit floating point type
-
-
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
+
half_float::half half
16-bit floating point type
+
+
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
src info() -> set_format(Format::S16)
This file contains all available output stages for GEMMLowp on OpenCL.
1 channel, 1 F16 per channel
#define TEST_SUITE(SUITE_NAME)
1 channel, 1 S32 per channel
-
+
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.
-
combine(combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("DataType", DataType::U8)), datasets::BorderModes()), framework::dataset::make("filter_size",{5}))
-
bool is_data_type_fixed_point(DataType dt)
Check if a given data type is of fixed point type.
-
-
+
bool is_data_type_fixed_point(DataType dt)
Check if a given data type is of fixed point type.
+
+
-
bool is_data_type_quantized_asymmetric(DataType dt)
Check if a given data type is of asymmetric quantized type.
+
bool is_data_type_quantized_asymmetric(DataType dt)
Check if a given data type is of asymmetric quantized 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
-
const ValidRegion dst_valid_region
+
const ValidRegion dst_valid_region
ARM_COMPUTE_EXPECT(src.info() ->is_resizable(), framework::LogLevel::ERRORS)
+
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.
@@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('validation_2_g_l_e_s___c_o_m_p_u_t_e_2
-
convolution configure & src
+
convolution configure & src
ValidRegion shape_to_valid_region(const TensorShape &a_shape, bool border_undefined=false, BorderSize border_size=BorderSize(0))
Create a valid region based on tensor shape, border mode and border size.