|
VLink
2.0.0
A high-performance communication middleware
|
248-byte POD container holding a dense N-D tensor plus shape / dtype / device metadata. 更多...
#include <tensor.h>
248-byte POD container holding a dense N-D tensor plus shape / dtype / device metadata.
The struct size is locked at 248 bytes on 64-bit targets via static_assert. Up to kMaxRank dimensions are supported; the shape and stride arrays are inline so that strided slices round-trip without extra metadata.