class_docstr: Abstract baseclass for resampling operations
class_docstr_tok: ["Abstract","baseclass","for","resampling","operations"]
code: def instance(self_or_cls, **params):
      filtered = {
          k: v for k, v in params.items() if k in self_or_cls.param
      }
      inst = super().instance(**filtered)
      inst._precomputed = {}
      return inst
  
file_path: holoviews/holoviews/operation/resample.py
imports: import numpy
  import param
  from param.parameterized import bothmethod
  from ..core import Dataset, Operation
  from ..core.util import datetime_types, dt_to_int, isfinite, max_range
  from ..element import Image
  from ..streams import PlotSize, RangeX, RangeXY
label_desc: Use image node_id 1 for calling the ResampleOperation2D obj's underlying member method code with example usage: obj.instance(_or_cls) and returns: inst