class_docstr: Initializes array with upsampling filter.
  
  The array is initialized with a standard image upsampling weight.
  This initializer is often used as initial weight for
  :func:`~chainer.links.DeconvolutionND`.
  :func:`~chainer.links.DeconvolutionND` is expected that its `stride` is
  equal to `(ksize + 1) // 2`.
  
  Reference: Long et al., https://arxiv.org/abs/1411.4038
  
  Attributes:
      interpolation (str): Upsampling interpolation method.
      Default is 'linear'.
class_docstr_tok: ["Initializes","array","with","upsampling","filter",".","The","array","is","initialized","with","a","standard","image","upsampling","weight",".","This","initializer","is","often","used","as","initial","weight","for",":","func",":","`","~chainer.links.DeconvolutionND","`",".",":","func",":","`","~chainer.links.DeconvolutionND","`","is","expected","that","its","`","stride","`","is","equal","to","`","(","ksize","+","1",")","\/\/","2","`",".","Reference",":","Long","et","al.",",","https",":","\/\/arxiv.org\/abs\/1411.4038","Attributes",":","interpolation","(","str",")",":","Upsampling","interpolation","method",".","Default","is","'linear","'","."]
code: def __init__(self, interpolation="linear", dtype=None):
      if interpolation != "linear":
          raise ValueError(
              "Unsupported interpolation method: {}".format(
                  interpolation
              )
          )
      super(UpsamplingDeconvFilter, self).__init__(
          upsampling=True, interpolation=interpolation, dtype=dtype
      )
  
file_path: chainer/chainer/initializers/sampling.py
imports: import numpy
  from chainer.backends import cuda
  from chainer import initializer
label_desc: Use image node_id 1 to create a new UpsamplingDeconvFilter object from inherited base classes: _SamplingFilter with example: obj = UpsamplingDeconvFilter(interpolation, dtype)