Skip to content

Rename optax.perturbations distribution method log_prob to unnormalized_log_prob #1214

@carlosgmartin

Description

@carlosgmartin

Each distribution under optax.perturbations has a method called log_prob that returns the logarithm of the unnormalized probability density at a given point.

I propose renaming this method to unnormalized_log_prob, like in TensorFlow Probability, so users don't confuse it with the actual (normalized) log probability.

If this is acceptable, I can submit a PR for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions