In #2221 I ran into a case where I wanted to write a test that checked if the ADType that the caller specified actually got used (e.g. to check that the argument isn't being accidentally ignored). Would be useful to have some utilities for this. See conversation in https://github.com/TuringLang/Turing.jl/pull/2221/files#r1608405934.
In #2221 I ran into a case where I wanted to write a test that checked if the ADType that the caller specified actually got used (e.g. to check that the argument isn't being accidentally ignored). Would be useful to have some utilities for this. See conversation in https://github.com/TuringLang/Turing.jl/pull/2221/files#r1608405934.