File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
26
26
27
27
[compat ]
28
28
BoundaryValueDiffEq = " 2"
29
- Convex = " 0.14, 0. 15"
29
+ Convex = " 0.15"
30
30
Distributions = " 0.25"
31
- Flux = " 0.12, 0.14 "
32
- Interpolations = " 0.13, 0.15 "
33
- IntervalSets = " 0.5, 0.7 "
31
+ Flux = " 0.12, 0.13 "
32
+ Interpolations = " 0.13"
33
+ IntervalSets = " 0.5"
34
34
QuadGK = " 2"
35
35
ReinforcementLearning = " 0.10"
36
36
SCS = " 1"
Original file line number Diff line number Diff line change 1
1
# # TODO : Need reconstruct !!!
2
2
using Flux: glorot_normal, glorot_uniform
3
3
using StableRNGs
4
- using Flux. Losses
5
4
using IntervalSets
6
5
6
+ Base. copyto! (dest:: ReinforcementLearning.NeuralNetworkApproximator , src:: ReinforcementLearning.NeuralNetworkApproximator ) =
7
+ Flux. loadparams! (dest. model, Flux. params (src))
8
+
7
9
function Base. rsplit ( v, l:: Int )
8
10
u = reshape (v,l,length (v)÷ l)
9
11
[u[:,i] for i= 1 : size (u,2 )]
You can’t perform that action at this time.
0 commit comments