Commit 1d8445cb authored by Davis King's avatar Davis King

Fixed the terrible breaking change to the tensor object I made earlier today :(

parent 86465e30
...@@ -178,7 +178,6 @@ namespace dlib ...@@ -178,7 +178,6 @@ namespace dlib
CHECK_CUDA(cudaGetDevice(&the_device_id)); CHECK_CUDA(cudaGetDevice(&the_device_id));
// free memory blocks before we allocate new ones. // free memory blocks before we allocate new ones.
data_size = 0;
data_host.reset(); data_host.reset();
data_device.reset(); data_device.reset();
......
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