Skip to content

Commit

Permalink
Merge pull request #1356 from FluxML/dw/show
Browse files Browse the repository at this point in the history
Remove `show` for `Type{<:Pullback}`
  • Loading branch information
ToucheSir authored Feb 26, 2023
2 parents 215828d + d1da34a commit e193622
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/compiler/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ end

Base.show(io::IO, j::Pullback{S}) where S = print(io, "∂($(funcname(S.parameters[1])))")

Base.show(io::IO, P::Type{<:Pullback{S}}) where S<:Tuple = print(io, "typeof(∂($(funcname(@isdefined(S) ? S.parameters[1] : nothing))))")

0 comments on commit e193622

Please sign in to comment.