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
1a739219
Commit
1a739219
authored
Aug 28, 2016
by
Davis King
Browse files
Fixed compiler warning.
parent
9eed5974
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/dnn/core.h
dlib/dnn/core.h
+2
-2
No files found.
dlib/dnn/core.h
View file @
1a739219
...
...
@@ -35,7 +35,7 @@ namespace dlib
)
{
return
obj
.
get_learning_rate_multiplier
();
}
template
<
typename
T
>
double
get_learning_rate_multiplier
(
const
T
&
obj
,
general_
)
{
return
1
;
}
double
get_learning_rate_multiplier
(
const
T
&
,
general_
)
{
return
1
;
}
}
template
<
typename
T
>
double
get_learning_rate_multiplier
(
const
T
&
obj
)
{
return
impl
::
get_learning_rate_multiplier
(
obj
,
special_
());
}
...
...
@@ -51,7 +51,7 @@ namespace dlib
)
{
return
obj
.
get_weight_decay_multiplier
();
}
template
<
typename
T
>
double
get_weight_decay_multiplier
(
const
T
&
obj
,
general_
)
{
return
1
;
}
double
get_weight_decay_multiplier
(
const
T
&
,
general_
)
{
return
1
;
}
}
template
<
typename
T
>
double
get_weight_decay_multiplier
(
const
T
&
obj
)
{
return
impl
::
get_weight_decay_multiplier
(
obj
,
special_
());
}
...
...
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