code: def rademacher(key, shape, dtype="int64"):
      seed = _get_seed(key)
      prob = ivy.full(shape, 0.5, dtype="float32")
      b = ivy.bernoulli(prob, shape=shape, dtype="float32", seed=seed)
      b = ivy.astype(b, dtype)
      return 2 * b - 1
  
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 25 for calling a global function with example usage: rademacher(key, shape, dtype) and returns: unknown