code: def adaptive_avg_pool1d(x, output_size, name=None):
      return ivy.adaptive_avg_pool1d(x, output_size)
  
file_path: ivy/ivy/functional/frontends/paddle/nn/functional/pooling.py
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
  from ivy.func_wrapper import with_unsupported_dtypes
label_desc: Use image node_id 1 for calling a global function with example usage: adaptive_avg_pool1d(x, output_size, name) and returns: ivy