W3cubDocs

/TensorFlow Python

Module: tf.distributions

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

Modules

bijectors module: Imports for Python API.

Classes

class Bernoulli: Bernoulli distribution.

class Beta: Beta distribution.

class Categorical: Categorical distribution.

class Dirichlet: Dirichlet distribution.

class DirichletMultinomial: Dirichlet-Multinomial compound distribution.

class Distribution: A generic probability distribution base class.

class Exponential: Exponential distribution.

class Gamma: Gamma distribution.

class Laplace: The Laplace distribution with location loc and scale parameters.

class Multinomial: Multinomial distribution.

class Normal: The Normal distribution with location loc and scale parameters.

class RegisterKL: Decorator to register a KL divergence implementation function.

class ReparameterizationType: Instances of this class represent how sampling is reparameterized.

class StudentT: Student's t-distribution.

class Uniform: Uniform distribution with low and high parameters.

Functions

kl_divergence(...): Get the KL-divergence KL(distribution_a || distribution_b).

Other Members

FULLY_REPARAMETERIZED

NOT_REPARAMETERIZED

__cached__

__loader__

__spec__

© 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.
https://www.tensorflow.org/api_docs/python/tf/distributions