We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dc4bcd commit d5bd4e5Copy full SHA for d5bd4e5
examples/0_Tensor/tensor_manipulation.f90
@@ -23,7 +23,7 @@ program tensor_manipulation
23
integer(c_int64_t), dimension(2), parameter :: tensor_shape = [2, 3]
24
25
! Variables for constructing tensors with torch_tensor_from_array
26
- integer, parameter :: tensor_layout(ndims) = [1, 1]
+ integer, parameter :: tensor_layout(ndims) = [1, 2]
27
real(wp), dimension(2,3), target :: in_data
28
29
! Array for extracting an array from a tensor
0 commit comments