Commit 3a9b1242 authored by Davis King's avatar Davis King

Clarified spec

parent 031bb7d0
...@@ -541,6 +541,10 @@ namespace dlib ...@@ -541,6 +541,10 @@ namespace dlib
have its own block of memory but instead simply holds pointers to the have its own block of memory but instead simply holds pointers to the
memory of another tensor object. It therefore allows you to efficiently memory of another tensor object. It therefore allows you to efficiently
break a tensor into pieces and pass those pieces into functions. break a tensor into pieces and pass those pieces into functions.
An alias_tensor_instance doesn't own the resources it points to in any sense.
So it is important to make sure that the underlying owning tensor doesn't get
destructed before any alias tensors which point to it are destructed.
!*/ !*/
// You can't default initialize this object. You can only get instances of it from // You can't default initialize this object. You can only get instances of it from
......
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