code: def _flat_array_to_1_dim_array(x):
      return x.reshape((1,)) if x.shape == () else x
  
imports: import math
  from numbers import Number
  from typing import Union, Tuple, Optional, List, Sequence
  import numpy
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
label_desc: Use image node_id 1 for calling a global function with example usage: _flat_array_to_1_dim_array(x) and returns: unknown