Skip to content

DistributionLambda for latent variable amortization/recognition networks/encoders #9

Description

@st--

We could make the LatentVariableLayer interface more explicit by changing encoders from the status-quo "return parameters for the approximate posterior distribution" to a DistributionLambda that returns the posterior-approximating distribution itself.
This would make the behavior more explicit, and remove the need to keep track of what class the prior was (instead simply relying on tfp's kl_divergence implementations).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions