Make code more readable. Replace idx

This commit is contained in:
Faeez Shaikh 2023-04-01 16:37:41 -05:00
parent cb1d1190f1
commit c0e30a84f0

View File

@ -58,7 +58,7 @@ def test_task_dependent_ctr():
"stuff": 0, "stuff": 0,
"labels": torch.arange(0, 6).repeat(batch_size, 1), "labels": torch.arange(0, 6).repeat(batch_size, 1),
} }
for idx in range(num_examples) for _ in range(num_examples)
] ]
for task_idx in range(5): for task_idx in range(5):