code: def test_masked_global_pooling_avg_block_2d_data_dim3_pool3():
      """perception test"""
      fd1 = 5
      fd2 = 3
      fd3 = 7
  
      for pooling_func_name in ["mean", "sum", "max"]:
          for use_masking in [True, False]:
              perform_masked_global_pooling_test_dim3_pool_3(
                  fd1, fd2, fd3, use_masking, pooling_func_name
              )
  
file_path: maze/maze/test/perception/blocks/test_masked_global_pooling.py
imports: import pytest
  from maze.perception.blocks.general.masked_global_pooling import MaskedGlobalPoolingBlock
  from maze.test.perception.perception_test_utils import build_multi_input_dict
label_desc: Use image node_id 5 for calling a global function with example usage: test_masked_global_pooling_avg_block_2d_data_dim3_pool3() without return types