(np_array)
| 244 | data_size = 0 |
| 245 | |
| 246 | def make_meta(np_array): |
| 247 | nonlocal data_size |
| 248 | offset = _align_up(data_size, self.SAMPLE_ALIGNMENT) |
| 249 | data_size = offset + np_array.nbytes |
| 250 | return SampleMeta(offset, np_array.shape, np_array.dtype, np_array.nbytes) |
| 251 | |
| 252 | meta = [_apply_to_sample(make_meta, sample) for sample in samples] |
| 253 | return meta, data_size |
nothing calls this directly
no test coverage detected