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
540f4740
Commit
540f4740
authored
Oct 21, 2017
by
Gilles Rochefort
Committed by
Davis E. King
Oct 20, 2017
Browse files
Missing interfaces in add_prev for compatibility with mmod loss. (#901)
parent
6d343f93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/dnn/layers.h
dlib/dnn/layers.h
+3
-0
No files found.
dlib/dnn/layers.h
View file @
540f4740
...
...
@@ -2078,6 +2078,9 @@ namespace dlib
const
tensor
&
get_layer_params
()
const
{
return
params
;
}
tensor
&
get_layer_params
()
{
return
params
;
}
inline
dpoint
map_input_to_output
(
const
dpoint
&
p
)
const
{
return
p
;
}
inline
dpoint
map_output_to_input
(
const
dpoint
&
p
)
const
{
return
p
;
}
friend
void
serialize
(
const
add_prev_
&
,
std
::
ostream
&
out
)
{
serialize
(
"add_prev_"
,
out
);
...
...
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