Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
2412a257
Commit
2412a257
authored
Jun 06, 2016
by
Davis King
Browse files
Made this bit of code not look crazy
parent
992dcd48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.cpp
+1
-1
No files found.
dlib/dnn/cpu_dlib.cpp
View file @
2412a257
...
@@ -284,7 +284,7 @@ namespace dlib
...
@@ -284,7 +284,7 @@ namespace dlib
for
(
size_t
i
=
0
;
i
<
grad
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
grad
.
size
();
++
i
)
out
[
i
]
=
*
in
++
;
out
[
i
]
=
*
in
++
;
for
(
long
i
=
1
;
i
<
gradient_input
.
num_samples
();
++
i
)
for
(
long
j
=
1
;
j
<
gradient_input
.
num_samples
();
++
j
)
{
{
for
(
size_t
i
=
0
;
i
<
grad
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
grad
.
size
();
++
i
)
out
[
i
]
+=
*
in
++
;
out
[
i
]
+=
*
in
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment