|
array
C++ library for multi-dimensional arrays
|
#include <array.h>
Public Types | |
| using | src_shape_type = ShapeSrc |
| using | dst_shape_type = ShapeDst |
Static Public Member Functions | |
| template<class Fn , class TSrc , class TDst > | |
| static NDARRAY_HOST_DEVICE void | for_each_value (const ShapeSrc &shape_src, TSrc src, const ShapeDst &shape_dst, TDst dst, Fn &&fn) |
Copy shape traits enable some behaviors to be customized on a pairwise shape basis for copies.
|
inlinestatic |
The for_each_value implementation for the shapes may be able to statically optimize the shapes. The default implementation optimizes the shapes at runtime, and only attempts to convert the shapes to dense_shapes of the same rank.
1.8.11