Fixing incorrect size in Tensor documentation.

This commit is contained in:
Brian Zhao 2019-10-04 21:30:35 -07:00
parent 20c4a9118f
commit 3afb640b56

View File

@ -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);