Skip to content

Exclude specific derivatives from tests #135

@devmotion

Description

@devmotion

Currently, it is not possible to use test_frule and test_rrule to check ChainRules definitions with missing derivatives that are implemented as @thunk(error("not implemented")) since the checks unthunk all derivatives automatically. This problem comes up e.g. in SpecialFunctions (JuliaMath/SpecialFunctions.jl#305).

It would be good if one could exclude specific derivatives from the checks completely (and not only from the finite differencing tests) and avoid that they are unthunked.

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