| 212 | const auto f32_shape = |
| 213 | combine((SCALE_PRECOMMIT_SHAPE_DATASET(num_elements_per_vector<float>())), make("DataType", DataType::F32)); |
| 214 | FIXTURE_DATA_TEST_CASE(Run, |
| 215 | CLScaleFixture<float>, |
| 216 | framework::DatasetMode::ALL, |
| 217 | ASSEMBLE_DATASET(f32_shape, ScaleSamplingPolicySet)) |
| 218 | { |
| 219 | //Create valid region |
| 220 | TensorInfo src_info(_shape, 1, _data_type); |
| 221 | const ValidRegion valid_region = calculate_valid_region_scale( |
| 222 | src_info, _reference.shape(), _policy, _sampling_policy, (_border_mode == BorderMode::UNDEFINED)); |
| 223 | |
| 224 | // Validate output |
| 225 | validate(CLAccessor(_target), _reference, valid_region, tolerance_f32, tolerance_num_f32, tolerance_f32_absolute); |
| 226 | } |
| 227 | FIXTURE_DATA_TEST_CASE(RunMixedDataLayout, |
| 228 | CLScaleMixedDataLayoutFixture<float>, |
| 229 | framework::DatasetMode::ALL, |
no test coverage detected