code: def pool(
      input,
      window_shape,
      pooling_type,
      strides=None,
      padding="VALID",
      data_format=None,
      dilations=None,
      name=None,
  ):
      return ivy.pool(
          input,
          window_shape,
          pooling_type,
          strides=strides,
          padding=padding,
          data_format=data_format,
          dilations=dilations,
      )
  
imports: import ivy
  from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.tensorflow import check_tensorflow_casting
label_desc: Use image node_id 33 for calling a global function with example usage: pool(input, window_shape, pooling_type, strides, padding, data_format, dilations, name) and returns: ivy