mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fixing incorrect size in Tensor documentation.
This commit is contained in:
parent
20c4a9118f
commit
3afb640b56
@ -83,7 +83,7 @@ large enough to hold all the data.
|
||||
|
||||
// You can also map fixed-size tensors. Here we get a 1d view of
|
||||
// the 2d fixed-size tensor.
|
||||
TensorFixedSize<float, Sizes<4, 5>> t_4x3;
|
||||
TensorFixedSize<float, Sizes<4, 3>> t_4x3;
|
||||
TensorMap<Tensor<float, 1>> t_12(t_4x3.data(), 12);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user