/TensorFlow Python

Module: tf.keras.initializers

Defined in tensorflow/tools/api/generator/api/keras/initializers/__init__.py.

Imports for Python API.

This file is MACHINE GENERATED! Do not edit. Generated by: tensorflow/tools/api/generator/create_python_api.py script.


class Constant: Initializer that generates tensors with constant values.

class Identity: Initializer that generates the identity matrix.

class Initializer: Initializer base class: all 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 tensors with 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.




glorot_normal(...): Glorot normal initializer, also called Xavier normal initializer.

glorot_uniform(...): Glorot uniform initializer, also called Xavier uniform initializer.

he_normal(...): He normal initializer.

he_uniform(...): He uniform variance scaling initializer.

lecun_normal(...): LeCun normal initializer.

lecun_uniform(...): LeCun uniform initializer.


Other Members




© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.