class_docstr: Try to figure out the batchsize, but never error out
  
  If this cannot figure out anything else, will fallback to guessing 1
  
  Example
  -------
  >>> guesser = BatchsizeGuesser()
  >>> # Works with simple tensors:
  >>> guesser(torch.randn((2,3)))
  2
  >>> # Works with sequences of tensors:
  >>> guesser((torch.randn((2,3)), torch.randint(high=5, size=(2,))))
  2
  >>> # Works with PaddedBatch:
  >>> guesser(PaddedBatch([{"wav": [1.,2.,3.]}, {"wav": [4.,5.,6.]}]))
  2
  >>> guesser("Even weird non-batches have a fallback")
  1
docstr: Try the different methods and note which worked
docstr_tok: ["Try","the","different","methods","and","note","which","worked"]
code: def find_suitable_method(self, batch):
      """Try the different methods and note which worked"""
      try:
          bs = self.attr_based(batch)
          self.method = self.attr_based
          return bs
      except:  # noqa: E722
          pass
      try:
          bs = self.torch_tensor_bs(batch)
          self.method = self.torch_tensor_bs
          return bs
      except:  # noqa: E722
          pass
      try:
          bs = self.len_of_first(batch)
          self.method = self.len_of_first
          return bs
      except:  # noqa: E722
          pass
      try:
          bs = self.len_of_iter_first(batch)
          self.method = self.len_of_iter_first
          return bs
      except:  # noqa: E722
          pass
      # Last ditch fallback:
      bs = self.fallback(batch)
      self.method = self.fallback(batch)
      return bs
  
imports: import collections
  import torch
  from speechbrain.utils.data_utils import mod_default_collate
  from speechbrain.utils.data_utils import recursive_to
  from speechbrain.utils.data_utils import batch_pad_right
  from torch.utils.data._utils.collate import default_convert
  from torch.utils.data._utils.pin_memory import pin_memory
label_desc: Use image node_id 3 for calling the BatchsizeGuesser obj's underlying member method code with example usage: obj.find_suitable_method(batch) and returns: bs, bs, bs, bs, bs