Skip to content

Commit

Permalink
reformat to black version 22.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuoyang-Pan committed Oct 2, 2023
1 parent 22c1e21 commit 5dbf8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
8 changes: 1 addition & 7 deletions diff_rast/project_gaussians.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ def backward(ctx, v_xys, v_depths, v_radii, v_conics, v_num_tiles_hit, v_cov3d):
conics,
) = ctx.saved_tensors

(
v_cov2d,
v_cov3d,
v_mean3d,
v_scale,
v_quat,
) = _C.project_gaussians_backward(
(v_cov2d, v_cov3d, v_mean3d, v_scale, v_quat,) = _C.project_gaussians_backward(
ctx.num_points,
means3d,
scales,
Expand Down
9 changes: 1 addition & 8 deletions tests/test_project_gaussians.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,7 @@ def test_project_gaussians_forward():
BLOCK_X, BLOCK_Y = 16, 16
tile_bounds = (W + BLOCK_X - 1) // BLOCK_X, (H + BLOCK_Y - 1) // BLOCK_Y, 1

(
cov3d,
xys,
depths,
radii,
conics,
num_tiles_hit,
) = _C.project_gaussians_forward(
(cov3d, xys, depths, radii, conics, num_tiles_hit,) = _C.project_gaussians_forward(
num_points,
means3d,
scales,
Expand Down

0 comments on commit 5dbf8fa

Please sign in to comment.