-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove old patches around reactant bug
- Loading branch information
Showing
2 changed files
with
1 addition
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "Lux" | ||
uuid = "b2108857-7c20-44ae-9111-449ecde12c47" | ||
authors = ["Avik Pal <[email protected]> and contributors"] | ||
version = "1.4.1" | ||
version = "1.4.2" | ||
|
||
[deps] | ||
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" | ||
|
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 |
---|---|---|
@@ -1,7 +1 @@ | ||
# For some reason xlogx and xlogy with boolean inputs leads to incorrect results sometimes | ||
# XXX: Once https://github.com/EnzymeAD/Reactant.jl/pull/278 is merged and tagged | ||
LuxOps.xlogx(x::TracedRNumber{Bool}) = zero(x) | ||
|
||
function LuxOps.xlogy(x::TracedRNumber, y::TracedRNumber) | ||
return invoke(LuxOps.xlogy, Tuple{Number, Number}, float(x), float(y)) | ||
end |