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
a3515c8b
Commit
a3515c8b
authored
Jun 22, 2016
by
Fm
Browse files
Fixed layer constructors to support VS2015
parent
11cef7b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
dlib/cmake
dlib/cmake
+0
-2
dlib/dnn/core.h
dlib/dnn/core.h
+2
-2
No files found.
dlib/cmake
View file @
a3515c8b
...
...
@@ -78,8 +78,6 @@ elseif (MSVC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # else if using Visu
message(STATUS "Enabling SSE2 instructions")
add_definitions(-DDLIB_HAVE_SSE2)
endif()
# DNN module produces long type names for NN definitions - disable this warning for MSVC
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4503")
endif()
...
...
dlib/dnn/core.h
View file @
a3515c8b
...
...
@@ -1365,7 +1365,7 @@ namespace dlib
static_assert
(
sample_expansion_factor
>=
1
,
"The input layer can't produce fewer output tensors than there are inputs."
);
add_tag_layer
()
=
default
;
add_tag_layer
()
{}
;
add_tag_layer
(
const
add_tag_layer
&
)
=
default
;
add_tag_layer
(
add_tag_layer
&&
)
=
default
;
add_tag_layer
&
operator
=
(
add_tag_layer
&&
)
=
default
;
...
...
@@ -2554,7 +2554,7 @@ namespace dlib
static_assert
(
sample_expansion_factor
>=
1
,
"The input layer can't produce fewer output tensors than there are inputs."
);
add_skip_layer
()
=
default
;
add_skip_layer
()
{}
;
add_skip_layer
(
const
add_skip_layer
&
)
=
default
;
add_skip_layer
(
add_skip_layer
&&
)
=
default
;
add_skip_layer
&
operator
=
(
add_skip_layer
&&
)
=
default
;
...
...
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