Module: tf.compat.v1.distributions
Stay organized with collections
Save and categorize content based on your preferences.
Public API for tf._api.v2.distributions namespace
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). (deprecated)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tf.compat.v1.distributions\n\n\u003cbr /\u003e\n\nPublic API for tf._api.v2.distributions namespace\n\nClasses\n-------\n\n[`class Bernoulli`](../../../tf/compat/v1/distributions/Bernoulli): Bernoulli distribution.\n\n[`class Beta`](../../../tf/compat/v1/distributions/Beta): Beta distribution.\n\n[`class Categorical`](../../../tf/compat/v1/distributions/Categorical): Categorical distribution.\n\n[`class Dirichlet`](../../../tf/compat/v1/distributions/Dirichlet): Dirichlet distribution.\n\n[`class DirichletMultinomial`](../../../tf/compat/v1/distributions/DirichletMultinomial): Dirichlet-Multinomial compound distribution.\n\n[`class Distribution`](../../../tf/compat/v1/distributions/Distribution): A generic probability distribution base class.\n\n[`class Exponential`](../../../tf/compat/v1/distributions/Exponential): Exponential distribution.\n\n[`class Gamma`](../../../tf/compat/v1/distributions/Gamma): Gamma distribution.\n\n[`class Laplace`](../../../tf/compat/v1/distributions/Laplace): The Laplace distribution with location `loc` and `scale` parameters.\n\n[`class Multinomial`](../../../tf/compat/v1/distributions/Multinomial): Multinomial distribution.\n\n[`class Normal`](../../../tf/compat/v1/distributions/Normal): The Normal distribution with location `loc` and `scale` parameters.\n\n[`class RegisterKL`](../../../tf/compat/v1/distributions/RegisterKL): Decorator to register a KL divergence implementation function.\n\n[`class ReparameterizationType`](../../../tf/compat/v1/distributions/ReparameterizationType): Instances of this class represent how sampling is reparameterized.\n\n[`class StudentT`](../../../tf/compat/v1/distributions/StudentT): Student's t-distribution.\n\n[`class Uniform`](../../../tf/compat/v1/distributions/Uniform): Uniform distribution with `low` and `high` parameters.\n\nFunctions\n---------\n\n[`kl_divergence(...)`](../../../tf/compat/v1/distributions/kl_divergence): Get the KL-divergence KL(distribution_a \\|\\| distribution_b). (deprecated)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| FULLY_REPARAMETERIZED | Instance of [`tf.compat.v1.distributions.ReparameterizationType`](../../../tf/compat/v1/distributions/ReparameterizationType) |\n| NOT_REPARAMETERIZED | Instance of [`tf.compat.v1.distributions.ReparameterizationType`](../../../tf/compat/v1/distributions/ReparameterizationType) |\n\n\u003cbr /\u003e"]]