line 43, what does this line mean? what does the <float, 2> mean? what does x_map(0, j) = (*vec)[j]; mean? auto x_map = x.tensor<float, 2>(); for (int j = 0; j < ndim; j++) { x_map(0, j) = (*vec)[j]; }
line 43, what does this line mean? what does the <float, 2> mean?
what does x_map(0, j) = (*vec)[j]; mean?
auto x_map = x.tensor<float, 2>();
for (int j = 0; j < ndim; j++) {
x_map(0, j) = (*vec)[j];
}