Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
maturk committed Oct 5, 2023
1 parent ef736ff commit 2e35e1d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions diff_rast/get_tile_bin_edges.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

class GetTileBinEdges(Function):
"""Function to map sorted intersection IDs to tile bins which give the range of unique gaussian IDs belonging to each tile.
Expects that intersection IDs are sorted by increasing tile ID.
Indexing into tile_bins[tile_idx] returns the range (lower,upper) of gaussian IDs that hit tile_idx.
Args:
num_intersects (int): total number of gaussian intersects.
isect_ids_sorted (Tensor): sorted unique IDs for each gaussian in the form (tile | depth id).
Returns:
tile_bins (Tensor): range of gaussians IDs hit per tile.
"""
Expand All @@ -31,7 +31,6 @@ def forward(

tile_bins = _C.get_tile_bin_edges(num_intersects, isect_ids_sorted)
return tile_bins


@staticmethod
def backward(ctx: Any, *grad_outputs: Any) -> Any:
Expand Down

0 comments on commit 2e35e1d

Please sign in to comment.