def METHOD_NAME(self, dataloader):
    """Return the fingerprints for an entire dataset"""
    original_out_type = self._out_type
    self._out_type = "torch"
    fps = []
    for batch in tqdm.tqdm(dataloader, desc="Fingerprinting batches"):
        feats = self.get_fingerprints_for_batch(batch)
        fps.append(feats)
    fps = torch.cat(fps, dim=0)
    self._out_type = original_out_type
    return self._convert_output_type(fps)