Function constantInit
Creates a parameter initialiser that sets the initial value of each element in a parameter tensor to a constant value.
Parameters
Name | Description |
---|---|
val | The constant value to be used for initialisation. |
Returns
The constructed ParamInitializer
.