(self, array_feature, shape_1, shape_2)
| 143 | @parameterized.named_parameters(get_array_feature_types()) |
| 144 | class ArrayXDTest(unittest.TestCase): |
| 145 | def get_features(self, array_feature, shape_1, shape_2): |
| 146 | return datasets.Features( |
| 147 | { |
| 148 | "image": array_feature(shape_1, dtype="float32"), |
| 149 | "source": Value("string"), |
| 150 | "matrix": array_feature(shape_2, dtype="float32"), |
| 151 | } |
| 152 | ) |
| 153 | |
| 154 | def get_dict_example_0(self, shape_1, shape_2): |
| 155 | return { |
no test coverage detected