constantInit

Creates a parameter initialiser that sets the initial value of each element in a parameter tensor to a constant value.

constantInit
(
float val
)

Parameters

val
Type: float

The constant value to be used for initialisation.

Return Value

The constructed ParamInitializer.

Meta