class chainer.initializers.UpsamplingDeconvFilter(interpolation='linear', dtype=None)[source]

Initializes array with upsampling filter.

The array is initialized with a standard image upsampling weight. This initializer is often used as initial weight for DeconvolutionND(). DeconvolutionND() is expected that its stride is equal to (ksize + 1) // 2.

Reference: Long et al.,

  • ~UpsamplingDeconvFilter.interpolation (str) – Upsampling interpolation method.

  • 'linear'. (Default is) –



Initializes given array.

This method destructively changes the value of array. The derived class is required to implement this method. The algorithms used to make the new values depend on the concrete derived classes.


array (N-dimensional array) – An array to be initialized by this initializer.

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.