MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / __init__

Method __init__

modules/ball_query.py:10–14  ·  view source on GitHub ↗
(self, radius, num_neighbors, include_coordinates=True)

Source from the content-addressed store, hash-verified

8
9class BallQuery(nn.Module):
10 def __init__(self, radius, num_neighbors, include_coordinates=True):
11 super().__init__()
12 self.radius = radius
13 self.num_neighbors = num_neighbors
14 self.include_coordinates = include_coordinates
15
16 def forward(self, points_coords, centers_coords, temb, points_features=None):
17 points_coords = points_coords.contiguous()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected