class_docstr: Beam search implementation.
docstr: Set the primer sequence for decoding.
  
  Used for OpenAI Whisper models.
docstr_tok: ["Set","the","primer","sequence","for","decoding",".","Used","for","OpenAI","Whisper","models","."]
code: def set_hyp_primer(self, hyp_primer: List[int] = None) -> None:
      """Set the primer sequence for decoding.
  
      Used for OpenAI Whisper models.
      """
      self.hyp_primer = hyp_primer
  
imports: import logging
  from itertools import chain
  from typing import Any, Dict, List, NamedTuple, Tuple, Union
  import torch
  from espnet.nets.e2e_asr_common import end_detect
  from espnet.nets.scorer_interface import PartialScorerInterface, ScorerInterface
label_desc: Use image node_id 2 for calling the BeamSearch obj's underlying member method code with example usage: obj.set_hyp_primer(hyp_primer) without return types