code: def set_bucket_info(self, num_buckets):
      self.num_buckets = num_buckets
      if self.num_buckets > 0:
          self._collated_sizes = np.minimum(
              np.array(self.sizes),
              self.max_sample_size,
          )
          self.buckets = get_buckets(
              self._collated_sizes,
              self.num_buckets,
          )
          self._bucketed_sizes = get_bucketed_sizes(
              self._collated_sizes, self.buckets
          )
          logger.info(
              f"{len(self.buckets)} bucket(s) for the audio dataset: "
              f"{self.buckets}"
          )
  
imports: import logging
  import os
  import sys
  import time
  import io
  import numpy
  import torch
  import torch.nn.functional
  from ..None import FairseqDataset
  from ..data_utils import compute_block_mask_1d, get_buckets, get_bucketed_sizes
  from fairseq.data.audio.audio_utils import parse_path, read_from_stored_zip, is_sf_audio_data
  from fairseq.data.text_compressor import TextCompressor, TextCompressionLevel
label_desc: Use image node_id 12 for calling the RawAudioDataset obj's underlying member method code with example usage: obj.set_bucket_info(num_buckets) without return types