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
26d2d889
Commit
26d2d889
authored
Apr 30, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments
parent
d161d0ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
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