-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Zygote errors with correlation sensitivities
- avoid trivial correlation sensitivity calculation - add type annotations to correlation_holder - make correlation_holder non-differentiable
- Loading branch information
1 parent
492df05
commit 8c9e4b9
Showing
4 changed files
with
24 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
# do not differentiate trivial correlation holder setup | ||
ChainRulesCore.@non_differentiable correlation_holder(alias::String,) | ||
ChainRulesCore.@non_differentiable correlation_holder(alias::String, sep::String,) | ||
ChainRulesCore.@non_differentiable correlation_holder(alias::String, sep::String, value_type::DataType) |
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