code: def update_global_state(self, beam):
      pass
  
file_path: OpenNMT-py/onmt/tests/test_greedy_search.py
imports: import unittest
  from onmt.translate.greedy_search import GreedySearch
  import torch
label_desc: Use image node_id 2 for calling the GlobalScorerStub obj's underlying member method code with example usage: obj.update_global_state(beam) without return types