def METHOD_NAME(self, idx: int) -> torch.Tensor:
    raw_label_data = os.pread(
        self._label_file,
        self._label_bytes_per_batch,
        idx * self._label_bytes_per_batch,
    )
    array = np.frombuffer(raw_label_data, dtype=np.float32)
    return torch.from_numpy(array).to(torch.float32)