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
20d46fc5
Commit
20d46fc5
authored
Dec 08, 2015
by
Davis King
Browse files
Added missing assert check
parent
a29086bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.cpp
+2
-1
No files found.
dlib/dnn/cudnn_dlibapi.cpp
View file @
20d46fc5
...
...
@@ -196,7 +196,8 @@ namespace dlib
(
dest
.
num_samples
()
==
src
.
num_samples
()
||
src
.
num_samples
()
==
1
)
&&
(
dest
.
nr
()
==
src
.
nr
()
||
src
.
nr
()
==
1
)
&&
(
dest
.
nc
()
==
src
.
nc
()
||
src
.
nc
()
==
1
)
&&
(
dest
.
k
()
==
src
.
k
()
||
src
.
k
()
==
1
),
""
);
(
dest
.
k
()
==
src
.
k
()
||
src
.
k
()
==
1
)
&&
is_same_object
(
src
,
dest
)
==
false
,
""
);
CHECK_CUDNN
(
cudnnAddTensor_v3
(
context
(),
&
alpha
,
...
...
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