code: def linear(x):
      fw, to_dtype, eps = set_framework_dependencies(x)
      return (x + 1) * to_dtype((-1 <= x) & (x < 0)) + (
          1 - x
      ) * to_dtype((0 <= x) & (x <= 1))
  
imports: from math import pi
label_desc: Use image node_id 6 for calling a global function with example usage: linear(x) and returns: unknown