uniformInit

Creates a parameter initialiser that sets the initial value of each element in a parameter tensor to a different sample from a uniform distribution.

uniformInit
(
float minval
,
float maxval
)

Parameters

minval
Type: float

The lower bound of the uniform distribution.

maxval
Type: float

The upper bound of the uniform distribution.

Return Value

The constructed ParamInitializer.

Meta