You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> Zygote.gradient(1.0) do x #[email protected]if@isdefined(x)
2x
else3x
endend
(3.0,)
This is problematic because
@info"hello" x
uses @isdefined for single variables like this and logging more complex expressions is now supported because of #1474. The problem might require fixes in IRTools as well which does not have a great support for this (it replaces undefs with IRTools.Undef()).
The text was updated successfully, but these errors were encountered:
This is problematic because
uses
@isdefined
for single variables like this and logging more complex expressions is now supported because of #1474. The problem might require fixes in IRTools as well which does not have a great support for this (it replaces undefs withIRTools.Undef()
).The text was updated successfully, but these errors were encountered: