def stats(self):
ret = '<STR_LIT>''<STR_LIT>''<STR_LIT>''<STR_LIT>''<STR_LIT>'.format(name=self.__class__.__name__,<EOL>sample_num=len(self._lengths),<EOL>batch_num=len(self._batch_infos),<EOL>bucket_keys=self._bucket_keys,<EOL>bucket_counts=[len(sample_ids) for sample_ids in self._bucket_sample_ids],<EOL>bucket_batch_sizes=self._bucket_batch_sizes)<EOL>return ret<EOL>
Return a string representing the statistics of the bucketing sampler.

        Returns
        -------
        ret : str
            String representing the statistics of the buckets.