chainer.initializers.DownsamplingConvFilter¶
-
class
chainer.initializers.
DownsamplingConvFilter
(interpolation='linear', dtype=None)[source]¶ Initializes array with downsampling filter.
The array is initialized with a standard image downsampling weight. This initializer is often used as initial weight for
ConvolutionND()
.ConvolutionND()
is expected that its stride is equal to (ksize + 1) // 2.Reference: Long et al., https://arxiv.org/abs/1411.4038
- Variables
interpolation (str) – Downsampling interpolation method.
is 'linear'. (Default) –
Methods
-
__call__
(array)[source]¶ 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.
- Parameters
array (N-dimensional array) – An array to be initialized by this initializer.
-
__eq__
()¶ Return self==value.
-
__ne__
()¶ Return self!=value.
-
__lt__
()¶ Return self<value.
-
__le__
()¶ Return self<=value.
-
__gt__
()¶ Return self>value.
-
__ge__
()¶ Return self>=value.