code: def adaptive_avg_pool2d(input, output_size):
      return ivy.adaptive_avg_pool2d(
          input, output_size, data_format="NCHW"
      )
  
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper
label_desc: Use image node_id 3 for calling a global function with example usage: adaptive_avg_pool2d(input, output_size) and returns: ivy