Documentation
¶
Overview ¶
Package initializers include several weight initializers, to be used with context. They implement computation.VariableInitializer type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VariableInitializer ¶
VariableInitializer builds a node that returns a value to initialize a variable of the given shape. It is defined in the Context.
func RandomNormalFn ¶
func RandomNormalFn(stddev float64) VariableInitializer
RandomNormalFn returns an initializer that generates random normal values with the given standard deviation and mean set to 0.
func RandomUniformFn ¶
func RandomUniformFn(min, max float64) VariableInitializer
RandomUniformFn return an initializer that generates a random uniform values from [min, max].
Click to show internal directories.
Click to hide internal directories.