def data_collate(batch:ItemsList)->Tensor:
    "Convert `batch` items to tensor data."
    return torch.utils.data.dataloader.default_collate(to_data(batch))
def data_collate ( batch : ItemsList ) -> Tensor : return torch . utils . data . dataloader . default_collate ( to_data ( batch ) )
Convert `batch` items to tensor data.