code: def _get_split_size(split_size):
      """Convert human-readable bytes to machine-readable bytes."""
      if isinstance(split_size, str):
          exp = dict(MB=20, GB=30).get(split_size[-2:], None)
          if exp is None:
              raise ValueError(
                  "split_size has to end with either" '"MB" or "GB"'
              )
          split_size = int(float(split_size[:-2]) * 2**exp)
  
      if split_size > 2147483648:
          raise ValueError("split_size cannot be larger than 2GB")
      return split_size
  
imports: import os.path
  import re
  import time
  import uuid
  from contextlib import contextmanager
  from gzip import GzipFile
  import numpy
  from scipy.sparse import csc_matrix, csr_matrix
  from ..utils import _file_like, _validate_type, logger
  from ..utils.numerics import _cal_to_julian
  from .constants import FIFF
label_desc: Use image node_id 2 for calling a global function with example usage: _get_split_size(split_size) and returns: split_size