Commit 6f63bc62 authored by Davis King's avatar Davis King

saving comments

parent 537da11f
......@@ -264,11 +264,13 @@ namespace dlib
resizable_tensor(const resizable_tensor& item)
{
// TODO, do the copy with cuda?
copy_size(item);
std::memcpy(data_instance.host(), item.host(), data_instance.size()*sizeof(float));
}
resizable_tensor(const tensor& item)
{
// TODO, do the copy with cuda?
copy_size(item);
std::memcpy(data_instance.host(), item.host(), data_instance.size()*sizeof(float));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment