| 215 | // *INDENT-ON* |
| 216 | |
| 217 | TEST_CASE(ValidatePaddedMaxDifferentQuantizationInfo, framework::DatasetMode::ALL) |
| 218 | { |
| 219 | TensorInfo input_info(TensorShape(3U, 15U, 11U, 1U), 1, DataType::QASYMM8, DataLayout::NHWC); |
| 220 | TensorInfo output_info(TensorShape(3U, 8U, 6U, 1U), 1, DataType::QASYMM8, DataLayout::NHWC); |
| 221 | const auto pool_info = PoolingLayerInfo(PoolingType::MAX, 3, DataLayout::NHWC, PadStrideInfo(2, 2, 1, 1), false); |
| 222 | |
| 223 | input_info.set_quantization_info(QuantizationInfo(0.25f, 11)); |
| 224 | output_info.set_quantization_info(QuantizationInfo(0.5f, 7)); |
| 225 | input_info.set_is_resizable(false); |
| 226 | output_info.set_is_resizable(false); |
| 227 | |
| 228 | const bool is_valid = bool(NEPoolingLayer::validate(&input_info, &output_info, pool_info)); |
| 229 | |
| 230 | ARM_COMPUTE_EXPECT(is_valid, framework::LogLevel::ERRORS); |
| 231 | } |
| 232 | |
| 233 | TEST_CASE(ValidatePaddedAvgDifferentQuantizationInfo, framework::DatasetMode::ALL) |
| 234 | { |
nothing calls this directly
no test coverage detected