Skip to content

rand! is marked non-differentiable #603

Open
@willtebbutt

Description

@willtebbutt

This fallback method for rand in Distributions.jl hits this rule, which is declared non-differentiable.

This results in a silent failure, where there ought to be an error if the given AD (in my case Zygote), is unable to handle in-place differentiation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions