chainer.initializers.One¶
-
chainer.initializers.
One
(dtype=None)[source]¶ Returns initializer that initializes array with the all-one array.
Parameters: dtype – Data type specifier. Returns: An initialized array. Return type: numpy.ndarray or cupy.ndarray