code: def test_beam_scorer_update(self):
      inputs = self.beam_search_tester.prepare_inputs()
      self.beam_search_tester.check_beam_scorer_update(*inputs)
  
imports: import unittest
  from transformers import is_torch_available
  from transformers.testing_utils import require_torch, torch_device
  from ..test_modeling_common import floats_tensor, ids_tensor
label_desc: Use image node_id 3 for calling the BeamSearchTest obj's underlying member method code with example usage: obj.test_beam_scorer_update() without return types