Open cossio opened 3 years ago
Distributions just reexports StatsBase.params
:
https://github.com/JuliaStats/Distributions.jl/blob/dadf4363486c42eee55283c65260c8aa0c85fd05/src/Distributions.jl#L20-L22
Maybe Flux could implement StatsBase.params
instead of defining its own version?
BenchmarkTools also exports params!
I guess it's unavoidable that multiple packages define and possibly also export functions with common names. Probably the best solution is to avoid using PackageX, PackageY
but use more fine-grained import statements. See, e.g., also https://github.com/JuliaLang/julia/pull/42080.
When using both
Distributions
andFlux
, one gets the following conflict withparams
:Is there a way to resolve this? Perhaps by renaming
params
, either inFlux
orDistributions
?