Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
a3515c8b
Commit
a3515c8b
authored
Jun 22, 2016
by
Fm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed layer constructors to support VS2015
parent
11cef7b1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
cmake
dlib/cmake
+0
-2
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