Skip to content

discuss propto with double vs. autodiff variables in User's Guide #692

@bob-carpenter

Description

@bob-carpenter

Summary:

In the User's Guide chapter on efficiency, we should discuss the tradeoff between evaluating propto=true with double and autodiff variables.

Description:

The issue is that

  • propto=true requires us to compute autodiff in order to drop normalizing constant calculations (we drop ones that aren't autodiff vars)
  • propto=false requires computation of normalizing constants over double, but no autodiff

For double input, either of these can be faster depending on how expensive the normalizing constants are to compute

Current Version:

v2.32

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions