code: def setup(self, N, num):
      x = np.linspace(0, 10, N, endpoint=False)
      self.y = np.cos(-(x**2) / 6.0)
  
imports: from itertools import product
  import numpy
  from .common import Benchmark, safe_import
label_desc: Use image node_id 1 for calling the Resample obj's underlying member method code with example usage: obj.setup(N, num) without return types