mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
8 lines
217 B
C++
8 lines
217 B
C++
int array[12];
|
|
for (int i = 0; i < 12; ++i) array[i] = i;
|
|
cout
|
|
<< Map<VectorXi, 0, InnerStride<2> >(
|
|
array,
|
|
6) // the inner stride has already been passed as template parameter
|
|
<< endl;
|