This fixes a deprecation warning caused by deprecated usage of Vararg. The result looks somewhat confusing due to the specially covariant nature of Vararg and Tuple so I have inserted a comment to explain what's going on. See additional discussion in this Flux.jl PR.
PR Checklist
[x] Tests are added (covered by existing, none needed)
This fixes a deprecation warning caused by deprecated usage of
Vararg
. The result looks somewhat confusing due to the specially covariant nature ofVararg
andTuple
so I have inserted a comment to explain what's going on. See additional discussion in this Flux.jl PR.PR Checklist