code: def test_global_avgpooling2d(self):
      self._core_global_avgpooling2d()
  
imports: import unittest
  import numpy
  import pytest
  import tf_encrypted
  from tf_encrypted.keras.testing_utils import agreement_test
  from tf_encrypted.keras.testing_utils import layer_test
label_desc: Use image node_id 2 for calling the TestGlobalPooling2d obj's underlying member method code with example usage: obj.test_global_avgpooling2d() without return types