tfl.lattice_layer.create_kernel_initializer

Returns a kernel Keras initializer object from its id.

This function is used to convert the 'kernel_initializer' parameter in the constructor of tfl.Lattice into the corresponding initializer object.

kernel_initializer_id See the documentation of the 'kernel_initializer' parameter in the constructor of tfl.Lattice.
lattice_sizes See the documentation of the same parameter in the constructor of tfl.Lattice.
monotonicities See the documentation of the same parameter in the constructor of tfl.Lattice.
output_min See the documentation of the same parameter in the constructor of tfl.Lattice.
output_max See the documentation of the same parameter in the constructor of tfl.Lattice.
unimodalities See the documentation of the same parameter in the constructor of tfl.Lattice.
joint_unimodalities See the documentation of the same parameter in the constructor of tfl.Lattice.

The Keras initializer object for the tfl.Lattice kernel variable.