code: def cheby(i, x):
      if i == 0:
          return 1
      elif i == 1:
          return x
      else:
          T0 = 1
          T1 = x
          for ii in range(2, i + 1):
              T2 = 2 * x * T1 - T0
              T0, T1 = T1, T2
          return T2
  
imports: import math
  import random
  import numpy
  import pgl
  import paddle
label_desc: Use image node_id 2 for calling a global function with example usage: cheby(i, x) and returns: int, x, T2