docstr: Number of hypotheses in the list.
docstr_tok: ["Number","of","hypotheses","in","the","list","."]
code: def __len__(self):
      """
      Number of hypotheses in the list.
      """
      return len(self.hyp)
  
file_path: DeepKE/example/llm/CPM-Bee/src/cpm_live/generation/generation_utils.py
imports: import torch
  import torch.nn.functional
label_desc: Use image node_id 2 for calling the BeamHypotheses obj's underlying member method code with example usage: obj.__len__() and returns: len