Skip to content

Commit

Permalink
Update benchmarks/static_runtime/test_utils.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com>
  • Loading branch information
huydhn and malfet committed Oct 29, 2022
1 parent 304576e commit 10b1f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/static_runtime/test_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void compareTensorLists(
const bool use_allclose,
const bool use_equalnan) {
EXPECT_TRUE(l.size() == r.size());
for (size_t i = 0; i < l.size(); ++i) {
for (auto i : c10::irange(l.size())) {
ASSERT_TRUE(l[i].isTensor());
ASSERT_TRUE(r[i].isTensor());
VLOG(2) << "expect " << i << ": \n" << l[i] << std::endl;
Expand Down

0 comments on commit 10b1f96

Please sign in to comment.