tfl.kronecker_factored_lattice_layer.create_scale_initializer

Returns a scale Keras initializer object from its id.

This function is used to convert the 'scale_initializer' parameter in the constructor of tfl.layers.KroneckerFactoredLattice into the corresponding initializer object.

scale_initializer_id See the documentation of the 'scale_initializer' parameter in the constructor of tfl.layers.KroneckerFactoredLattice.
output_min See the documentation of the same parameter in the constructor of tfl.layers.KroneckerFactoredLattice.
output_max See the documentation of the same parameter in the constructor of tfl.layers.KroneckerFactoredLattice.

The Keras initializer object for the tfl.layers.KroneckerFactoredLattice scale variable.