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
37d493e2
Commit
37d493e2
authored
Oct 21, 2015
by
Davis King
Browse files
Added missing const
parent
beae2212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/tensor.h
dlib/dnn/tensor.h
+1
-1
No files found.
dlib/dnn/tensor.h
View file @
37d493e2
...
@@ -34,7 +34,7 @@ namespace dlib
...
@@ -34,7 +34,7 @@ namespace dlib
long
nc
()
const
{
return
m_nc
;
}
long
nc
()
const
{
return
m_nc
;
}
size_t
size
()
const
{
return
data
.
size
();
}
size_t
size
()
const
{
return
data
.
size
();
}
void
async_copy_to_device
()
void
async_copy_to_device
()
const
{
{
data
.
async_copy_to_device
();
data
.
async_copy_to_device
();
}
}
...
...
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