code: def _zero2pad(draw):
      dtype, input, shape = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("float"),
              ret_shape=True,
              min_num_dims=4,
              max_num_dims=4,
              min_value=-100,
              max_value=100,
          )
      )
      ndim = len(shape)
      min_dim = min(shape)
      padding = draw(
          st.lists(
              st.integers(min_value=0, max_value=min_dim),
              min_size=ndim,
              max_size=ndim,
          )
      )
      return dtype, input, padding
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_paddle/test_nn/test_functional/test_common.py
imports: from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_frontends.test_torch.test_nn.test_functional.test_linear_functions import _x_and_linear
label_desc: Use image node_id 2 for calling a global function with example usage: _zero2pad(draw) and returns: dtype,  input,  padding