Keras initializer serialization / deserialization.
class Constant: Initializer that generates tensors with constant values.
class Identity: Initializer that generates the identity matrix.
class Initializer: Initializer base class: all Keras initializers inherit from this class.
class Ones: Initializer that generates tensors initialized to 1.
class Orthogonal: Initializer that generates an orthogonal matrix.
class RandomNormal: Initializer that generates a normal distribution.
class RandomUniform: Initializer that generates tensors with a uniform distribution.
class TruncatedNormal: Initializer that generates a truncated normal distribution.
class VarianceScaling: Initializer capable of adapting its scale to the shape of weights tensors.
class Zeros: Initializer that generates tensors initialized to 0.
class constant: Initializer that generates tensors with constant values.
class glorot_normal: The Glorot normal initializer, also called Xavier normal initializer.
class glorot_uniform: The Glorot uniform initializer, also called Xavier uniform initializer.
class he_normal: Initializer capable of adapting its scale to the shape of weights tensors.
class he_uniform: Initializer capable of adapting its scale to the shape of weights tensors.
class identity: Initializer that generates the identity matrix.
class lecun_normal: Initializer capable of adapting its scale to the shape of weights tensors.
class lecun_uniform: Initializer capable of adapting its scale to the shape of weights tensors.
class normal: Initializer that generates a normal distribution.
class ones: Initializer that generates tensors initialized to 1.
class orthogonal: Initializer that generates an orthogonal matrix.
class random_normal: Initializer that generates a normal distribution.
class random_uniform: Initializer that generates tensors with a uniform distribution.
class truncated_normal: Initializer that generates a truncated normal distribution.
class uniform: Initializer that generates tensors with a uniform distribution.
class zeros: Initializer that generates tensors initialized to 0.
deserialize(...): Return an Initializer object from its config.
get(...): Retrieve a Keras initializer by the identifier.
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/compat/v1/keras/initializers