parameters: (value: Union[Iterable[Union[float, int]], float, int], dtype=None)
return_statement: return x
docstring: This function acts in a same way as np.array except for the case when dtype is not provided
      and np.array return fp64 array this function returns fp32 array
docstring_summary: This function acts in a same way as np.array except for the case when dtype is not provided
      and np.array return fp64 array this function returns fp32 array
docstring_tokens: This function acts in a same way as np . array except for the case when dtype is not provided and np . array return fp64 array this function returns fp32 array
function: def mo_array(value: Union[Iterable[Union[float, int]], float, int], dtype=None) -> np.ndarray:
      """
      This function acts in a same way as np.array except for the case when dtype is not provided
      and np.array return fp64 array this function returns fp32 array
      """
      x = np.array(value, dtype=dtype)
      if not isinstance(value, np.ndarray) and x.dtype == np.float64 and dtype != np.float64:
          x = x.astype(np.float32)
      return x
function_tokens: def mo_array ( value : Union [ Iterable [ Union [ float , int ] ] , float , int ] , dtype = None ) -> np . ndarray : x = np . array ( value , dtype = dtype ) if not isinstance ( value , np . ndarray ) and x . dtype == np . float64 and dtype != np . float64 : x = x . astype ( np . float32 ) return x