code: def rrelu(
      x,
      /,
      *,
      lower=0.125,
      upper=0.3333333333333333,
      training=False,
      name=None,
  ):
      if lower < 0 or lower > 1:
          raise ValueError(
              "The lower value must be no less than zero or greater than one. Received:"
              f" {lower}."
          )
  
      if upper < lower:
          raise ValueError(
              "The upper value must be greater than lower value. Received: lower"
              f" {lower}, upper {upper}."
          )
  
      if upper > 1:
          raise ValueError(
              f"The upper value must be no greater than one. Received: {upper}."
          )
  
      is_test = not training
      if is_test:
          add = lower + upper
          ret = add * x * 0.5
          out = ivy.where(x >= 0, x, ret)
          return out.astype(x.dtype)
  
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.paddle.tensor.math import tanh
label_desc: Use image node_id 18 for calling a global function with example usage: rrelu() and returns: out