code: def func(self, x):
      return self.constant + self.slope * x
  
imports: import numpy
label_desc: Use image node_id 2 for calling the AffineFunc obj's underlying member method code with example usage: obj.func(x) and returns: unknown