Module: tf.initializers

Defined in tensorflow/tools/api/generator/api/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.

Classes

class constant: Initializer that generates tensors with constant values.

class identity: Initializer that generates the identity matrix.

class ones: Initializer that generates tensors initialized to 1.

class orthogonal: Initializer that generates an orthogonal matrix.

class random_normal: Initializer that generates tensors with 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_unit_scaling: Initializer that generates tensors without scaling variance.

class variance_scaling: Initializer capable of adapting its scale to the shape of weights tensors.

class zeros: Initializer that generates tensors initialized to 0.

Functions

global_variables(...): Returns an Op that initializes global variables.

local_variables(...): Returns an Op that initializes all local variables.

variables(...): Returns an Op that initializes a list of variables.