chainer.initializers.Constant¶
-
class
chainer.initializers.
Constant
(fill_value, dtype=None)[source]¶ Initializes array with constant value.
Variables: - fill_value (scalar or numpy.ndarray or cupy.ndarray) – A constant to be assigned to the initialized array. Broadcast is allowed on this assignment.
- dtype – Data type specifier.
Methods