code: def constrain_as_value_example(x, y):
      """
      If the value is not known at tracing time, you can provide hint so that we
      can trace further. Please look at constrain_as_value and constrain_as_size APIs.
      constrain_as_value is used for values that don't need to be used for constructing
      tensor.
      """
      a = x.item()
      torch._constrain_as_value(a, min=0, max=5)
  
      if a < 6:
          return y.sin()
      return y.cos()
  
label_desc: Use image node_id 1 for calling a global function with example usage: constrain_as_value_example(x, y) and returns: y, y