Skip to content

Commit

Permalink
TestMap.fn
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 22, 2023
1 parent 152612c commit 8ca93b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_tensordict.py
Original file line number Diff line number Diff line change
Expand Up @@ -6574,15 +6574,15 @@ def test_map_seed(self):
# making sure that no worker does more than any other.
generator.manual_seed(0)
td_out_0 = td.map(
self.get_rand_incr,
TestMap.get_rand_incr,
num_workers=4,
generator=generator,
chunksize=1,
max_tasks_per_child=5,
)
generator.manual_seed(0)
td_out_1 = td.map(
self.get_rand_incr,
TestMap.get_rand_incr,
num_workers=4,
generator=generator,
chunksize=1,
Expand Down

0 comments on commit 8ca93b6

Please sign in to comment.