code: def flatten(input, order="C", *, start_dim=1, end_dim=-1):
      return ivy.flatten(
          input, order=order, start_dim=start_dim, end_dim=end_dim
      )
  
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 11 for calling a global function with example usage: flatten(input, order) and returns: ivy