Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lib4neuro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MolDyn
lib4neuro
Commits
c98fbca1
Commit
c98fbca1
authored
5 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Removing memory leaks
parent
aea7c2f7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/examples/simulator_1_2.cpp
+2
-2
2 additions, 2 deletions
src/examples/simulator_1_2.cpp
with
2 additions
and
2 deletions
src/examples/simulator_1_2.cpp
+
2
−
2
View file @
c98fbca1
...
@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
...
@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
double
prec_lm
=
1e-9
;
double
prec_lm
=
1e-9
;
int
restart_interval
=
500
;
int
restart_interval
=
500
;
int
max_n_iters_gradient
=
10000
;
int
max_n_iters_gradient
=
10000
;
int
max_n_iters_gradient_lm
=
10
000
;
int
max_n_iters_gradient_lm
=
10
;
int
max_n_iters_swarm
=
5
;
int
max_n_iters_swarm
=
5
;
int
n_particles_swarm
=
200
;
int
n_particles_swarm
=
200
;
unsigned
long
batch_size
=
0
;
unsigned
long
batch_size
=
0
;
...
@@ -85,7 +85,7 @@ int main(int argc, char** argv) {
...
@@ -85,7 +85,7 @@ int main(int argc, char** argv) {
l4n
::
LearningSequence
learning_sequence
(
1e-6
,
max_number_of_cycles
);
l4n
::
LearningSequence
learning_sequence
(
1e-6
,
max_number_of_cycles
);
learning_sequence
.
add_learning_method
(
&
rnd
);
learning_sequence
.
add_learning_method
(
&
rnd
);
learning_sequence
.
add_learning_method
(
&
ps
);
//
learning_sequence.add_learning_method( &ps );
learning_sequence
.
add_learning_method
(
&
leven
);
learning_sequence
.
add_learning_method
(
&
leven
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment