code: def avg_pool3d(
      input,
      kernel_size,
      stride=None,
      padding=0,
      ceil_mode=False,
      count_include_pad=True,
      divisor_override=None,
  ):
      if not isinstance(padding, int):
          padding = [(pad, pad) for pad in padding]
      return ivy.avg_pool3d(
          input,
          kernel_size,
          stride if stride is not None else kernel_size,
          padding,
          data_format="NCDHW",
          ceil_mode=ceil_mode,
          count_include_pad=count_include_pad,
          divisor_override=divisor_override,
      )
  
file_path: ivy/ivy/functional/frontends/torch/nn/functional/pooling_functions.py
imports: from functools import reduce
  import ivy
  from ivy import with_unsupported_dtypes
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 6 for calling a global function with example usage: avg_pool3d(input, kernel_size, stride, padding, ceil_mode, count_include_pad, divisor_override) and returns: ivy