code: def _ensure_native_byte_order(array):
      """Use the byte order of the host while preserving values
  
      Does nothing if array already uses the system byte order.
      """
      if _is_numpy_array_byte_order_mismatch(array):
          array = array.byteswap().newbyteorder("=")
      return array
  
file_path: catboost/contrib/python/joblib/joblib/numpy_pickle_utils.py
imports: import pickle
  import io
  import sys
  import warnings
  import contextlib
  from .compressor import _ZFILE_PREFIX
  from .compressor import _COMPRESSORS
label_desc: Use image node_id 4 for calling a global function with example usage: _ensure_native_byte_order(array) and returns: array