| 196 | #endif |
| 197 | |
| 198 | friend void memcpy ( |
| 199 | tensor& dest, |
| 200 | const tensor& src |
| 201 | ) |
| 202 | { |
| 203 | DLIB_CASSERT(dest.size() == src.size()); |
| 204 | memcpy(dest.data(), dest.get_alias_offset(), |
| 205 | src.data(), src.get_alias_offset(), |
| 206 | src.size()); |
| 207 | } |
| 208 | |
| 209 | |
| 210 | protected: |
nothing calls this directly
no test coverage detected