Skip to content

Commit 90694f8

Browse files
committed
Fix formatting issues
1 parent 5b38661 commit 90694f8

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

physicsnemo/domain_parallel/shard_utils/point_cloud_ops.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,16 +219,13 @@ def ringless_ball_query(
219219

220220
for i_dim, s in queries._spec.sharding_shapes().items():
221221
indices_placement[i_dim] = tuple(
222-
torch.Size([*_s[:q_shard_dim], _s[q_shard_dim], max_points])
223-
for _s in s
222+
torch.Size([*_s[:q_shard_dim], _s[q_shard_dim], max_points]) for _s in s
224223
)
225224
num_neighbors_placement[i_dim] = tuple(
226-
torch.Size([*_s[:q_shard_dim], _s[q_shard_dim]])
227-
for _s in s
225+
torch.Size([*_s[:q_shard_dim], _s[q_shard_dim]]) for _s in s
228226
)
229227
output_points_placement[i_dim] = tuple(
230-
torch.Size([*_s[:q_shard_dim], _s[q_shard_dim], max_points, 3])
231-
for _s in s
228+
torch.Size([*_s[:q_shard_dim], _s[q_shard_dim], max_points, 3]) for _s in s
232229
)
233230

234231
indices = ShardTensor.from_local(

0 commit comments

Comments
 (0)