24 #ifndef ARM_COMPUTE_TEST_MEAN_STD_DEV_FIXTURE 25 #define ARM_COMPUTE_TEST_MEAN_STD_DEV_FIXTURE 38 template <
typename TensorType,
typename AccessorType,
typename FunctionType,
typename T>
42 template <
typename...>
45 _target = compute_target(shape, data_type);
46 _reference = compute_reference(shape, data_type);
53 library->fill_tensor_uniform(tensor, 0);
66 FunctionType mean_std_dev;
67 mean_std_dev.configure(&src, &mean, &std_dev);
72 src.allocator()->allocate();
76 fill(AccessorType(src));
81 return std::make_pair(mean, std_dev);
93 return reference::mean_and_standard_deviation<T>(
src);
96 std::pair<float, float> _target{};
97 std::pair<float, float> _reference{};
This file contains all available output stages for GEMMLowp on OpenCL.
std::unique_ptr< AssetsLibrary > library
void setup(TensorShape shape, DataType data_type)
Simple tensor object that stores elements in a consecutive chunk of memory.
ARM_COMPUTE_EXPECT(src.info() ->is_resizable(), framework::LogLevel::ERRORS)
DataType
Available data types.
convolution configure & src