-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix testset_zygote_broken() define vars used by error() * logpdf(arraydist): use mapreduce * logpdf(filldist): use mapreduce * remove filldist(Zygote) from broken * improve mapreduce Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * improve mapreduce() invocation Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * tests: exclude Chernoff from Zygote filldist tests * simplify mapreduce -> sum Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * explicitly broadcast since it looks like `mapreduce()` still allocates Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * require ChainRulesTestUtils >= 1.9.2 some graident tests require test_approx(::Array{<:Array}, ::Zero) * _flat_logpdf(): explicit lazy broadcasting * filldist tests: enable Skellam * use product_distribution() to fix deprecation * eliminate unnecessary intermediate var * replace some anonymous funcs with Base.Fix1 * replace sum(lambda, zip(...)) with lazy broadcast * Update src/arraydist.jl * Update test/ad/distributions.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>
- Loading branch information
1 parent
dc92604
commit 02ca329
Showing
5 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters