code: def update_finished(self):
      super(GreedySearchLM, self).update_finished()
  
imports: import torch
  from torch.nn.functional import softmax
  from onmt.translate.decode_strategy import DecodeStrategy
label_desc: Use image node_id 1 for calling the GreedySearchLM obj's underlying member method code with example usage: obj.update_finished() without return types