code: def _get_seed(key):
      if "PRNGKeyArray" in repr(key):
          key = key._base_array
      key1, key2 = int(key[0]), int(key[1])
      return ivy.to_scalar(int("".join(map(str, [key1, key2]))))
  
imports: import operator
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back, handle_jax_dtype
label_desc: Use image node_id 1 for calling a global function with example usage: _get_seed(key) and returns: ivy