Skip to content

Commit c8b9704

Browse files
committed
style: format IndexTest
1 parent 238b3e5 commit c8b9704

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/ops/IndexTest.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ TEST_F(IndexTest, SliceIndexKeepsStride) {
2727
FileManerger file(file_name);
2828
file.createFile();
2929

30-
at::Tensor base =
31-
at::arange(0, 24, at::TensorOptions().dtype(at::kFloat))
32-
.reshape({2, 3, 4});
30+
at::Tensor base = at::arange(0, 24, at::TensorOptions().dtype(at::kFloat))
31+
.reshape({2, 3, 4});
3332

3433
using at::indexing::Slice;
3534
at::Tensor result = base.index({Slice(), Slice(1, 3), Slice()});

0 commit comments

Comments
 (0)