mirror of
https://github.com/twitter/the-algorithm-ml.git
synced 2024-12-23 14:51:49 +01:00
Make code more readable. Replace idx
This commit is contained in:
parent
cb1d1190f1
commit
c0e30a84f0
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user