code: def _average_pool_args(draw):
      dims = draw(st.integers(min_value=1, max_value=3))
      data_formats = ["NWC", "NHWC", "NDHWC"]
      data_format = data_formats[dims - 1]
      return (
          draw(
              helpers.arrays_for_pooling(
                  min_dims=dims + 2,
                  max_dims=dims + 2,
                  min_side=1,
                  max_side=4,
              )
          ),
          data_format,
      )
  
imports: from hypothesis import assume, strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_core.test_statistical import _statistical_dtype_values
  from ivy_tests.test_ivy.test_functional.test_nn.test_layers import _assume_tf_dilation_gt_1, _output_shape
label_desc: Use image node_id 1 for calling a global function with example usage: _average_pool_args(draw) and returns: draw,  data_format