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
26d2d889
Commit
26d2d889
authored
Apr 30, 2016
by
Davis King
Browse files
Added comments
parent
d161d0ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/dnn/tensor_tools.h
dlib/dnn/tensor_tools.h
+3
-0
No files found.
dlib/dnn/tensor_tools.h
View file @
26d2d889
...
...
@@ -1033,6 +1033,9 @@ namespace dlib { namespace tt
- All the tensors in items are the same size
ensures
- When you call average() we will average the tensors in items.
- It's important that the tensors already be allocated to their devices
before you call set(). This is because set() will setup the types of
between device transfers now and use them when you call average().
!*/
{
using
namespace
::
dlib
::
cuda
;
...
...
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