From a920f5dde9d18c681ef2bc53b972a5dc852dc5ad Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 5 Oct 2021 14:27:13 -0400 Subject: [PATCH] Don't export flatten ```julia julia> WARNING: both Flux and Iterators export "flatten"; uses of it in module DiffEqFlux must be qualified ``` Yeah no, that interferes with a very common Base module. --- src/Flux.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Flux.jl b/src/Flux.jl index 80d999de38..461a9aa0f8 100644 --- a/src/Flux.jl +++ b/src/Flux.jl @@ -10,7 +10,7 @@ using MacroTools: @forward using Zygote: Params, @adjoint, gradient, pullback, @nograd export gradient -export Chain, Dense, Maxout, SkipConnection, Parallel, flatten, +export Chain, Dense, Maxout, SkipConnection, Parallel, RNN, LSTM, GRU, GRUv3, SamePad, Conv, CrossCor, ConvTranspose, DepthwiseConv, AdaptiveMaxPool, AdaptiveMeanPool, GlobalMaxPool, GlobalMeanPool, MaxPool, MeanPool,