| 1244 | } // unnamed namespace |
| 1245 | |
| 1246 | DATA_TEST_CASE(PrepareWeightShape, framework::DatasetMode::ALL, prepare_weights_shapes, shapes) |
| 1247 | { |
| 1248 | const TensorShape input_shape = std::get<0>(shapes); |
| 1249 | const TensorShape expected_shape = std::get<1>(shapes); |
| 1250 | const arm_compute::WeightFormat wf = std::get<2>(shapes); |
| 1251 | const DataType DT = DataType::F32; |
| 1252 | const DataLayout DL = DataLayout::NHWC; |
| 1253 | const auto TI = TensorInfo(input_shape, 1 /*num_channels, deprecated*/, DT, DL); |
| 1254 | const TensorInfo computed_info = ::arm_compute::test::validation::prepare_weights(TI, wf); |
| 1255 | ARM_COMPUTE_EXPECT_EQUAL(computed_info.tensor_shape(), expected_shape, framework::LogLevel::ERRORS); |
| 1256 | } |
| 1257 | |
| 1258 | TEST_SUITE_END() // VariableWeightUtils |
| 1259 |
no test coverage detected