code: def adaptive_max_pool2d(
      input,
      output_size,
      return_indices=False,
  ):
      # ToDo: Add return_indices once superset is implemented
      return ivy.adaptive_max_pool2d(input, output_size)
  
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 3 for calling a global function with example usage: adaptive_max_pool2d(input, output_size, return_indices) and returns: ivy