Skip to content

Commit 3ca4ab7

Browse files
authored
🤖 Format .jl files
1 parent 69f16e4 commit 3ca4ab7

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

old/problems/NN_CIFAR10.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ trained_model = train_knetNLPmodel!(
2424
all_data = false,
2525
verbose = false,
2626
)
27-

old/testParam.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,3 @@
6464

6565

6666
# C = R2ParameterSet{R}(√eps(R), √eps(R), 0.1, 0.01, 0.1, 1.9, zero(R), 0.9) # with issues
67-

src/SR2.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,16 @@ end
101101
kwargs...,
102102
) where {T,V}
103103
solver = SR2Solver(nlp)
104-
nlp_param = R2ParameterSet{T}(atol=atol, rtol=rtol, η1=η1, η2=η2, γ1=γ1, γ2=γ2, σmin=σmin, β = β) #(√eps(R), √eps(R), 0.1, 0.3, 1.1, 1.9, zero(R), 0.9) # TODO add the param here
104+
nlp_param = R2ParameterSet{T}(
105+
atol = atol,
106+
rtol = rtol,
107+
η1 = η1,
108+
η2 = η2,
109+
γ1 = γ1,
110+
γ2 = γ2,
111+
σmin = σmin,
112+
β = β,
113+
) #(√eps(R), √eps(R), 0.1, 0.3, 1.1, 1.9, zero(R), 0.9) # TODO add the param here
105114
return SolverCore.solve!(solver, nlp_param, nlp; kwargs...)
106115
end
107116

src/main.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ include("models/lenet_mnist.jl")
5858

5959

6060
#TODO
61-
# RENSET
61+
# RENSET

0 commit comments

Comments
 (0)