class_docstr: model
class_docstr_tok: ["model"]
code: def beam_search(self, src_word, beam_size=4, max_len=256, waitk=-1):
      # TODO: "Speculative Beam Search for Simultaneous Translation"
      raise NotImplementedError
  
file_path: PaddleHub/modules/text/simultaneous_translation/stacl/transformer_nist_wait_all/model.py
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddlenlp.transformers import WordEmbedding, PositionalEmbedding
label_desc: Use image node_id 3 for calling the SimultaneousTransformer obj's underlying member method code with example usage: obj.beam_search(src_word, beam_size, max_len, waitk) without return types