Skip to content

Commit 37a08e1

Browse files
Copilotavik-pal
andcommitted
refactor: move @public declaration for LuxCore imports to end of file
Co-authored-by: avik-pal <[email protected]>
1 parent 7a65ed1 commit 37a08e1

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

src/Lux.jl

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@ import LuxCore:
4545
preserves_state_type
4646

4747
@reexport using LuxCore, LuxLib, MLDataDevices, WeightInitializers
48-
49-
@public (
50-
initialparameters,
51-
initialstates,
52-
parameterlength,
53-
statelength,
54-
outputsize,
55-
update_state,
56-
trainmode,
57-
testmode,
58-
setup,
59-
apply,
60-
replicate,
61-
preserves_state_type,
62-
)
6348
using NNlib:
6449
NNlib,
6550
DenseConvDims,
@@ -208,6 +193,20 @@ export LuxOps
208193
@public Experimental
209194
@public set_dispatch_doctor_preferences!
210195
@public Serialization
196+
@public (
197+
initialparameters,
198+
initialstates,
199+
parameterlength,
200+
statelength,
201+
outputsize,
202+
update_state,
203+
trainmode,
204+
testmode,
205+
setup,
206+
apply,
207+
replicate,
208+
preserves_state_type,
209+
)
211210

212211
# NNlib.jl reexports
213212
## Functional API for common layers. Recommended to use the LuxLib versions

0 commit comments

Comments
 (0)