Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 22, 2023
1 parent 11ff0a0 commit 1c70cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensordict/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3038,8 +3038,8 @@ def map(
chunksize = 1
out = pool.imap_unordered(fn, self_split, chunksize)
# out = pool.map(fn, self_split, chunksize)
print('out', out)
out = torch.cat(list(out), dim)
print('out', out)
return out

# Functorch compatibility
Expand Down

0 comments on commit 1c70cc4

Please sign in to comment.