Skip to content

Commit

Permalink
[Minor] Remove prints (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed May 9, 2023
1 parent 961bf9d commit 361edc1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tensordict/nn/functional_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,13 @@ def incompatible_error():
new_batch_size.insert(out_dim, batch_size)
new_names = list(batched_output.names)
new_names.insert(out_dim, None)
print(batched_output.names)
out = batched_output.apply(
lambda x, out_dim=out_dim: _remove_batch_dim(
x, vmap_level, batch_size, out_dim
),
batch_size=new_batch_size,
names=new_names,
)
print(new_batch_size, out_dim, batch_size, flat_out_dims, out.names)
flat_outputs.append(out)
return tree_unflatten(flat_outputs, output_spec)

Expand Down

0 comments on commit 361edc1

Please sign in to comment.