Open black-prince222 opened 1 year ago
Here we define the average coordinate/feature of a k-nn group by the coordinate/feature of the corresponding local center.
Thus, mean_xyz
and mean_x
are equivalent to lc_xyz
and lc_x
.
Here we define the average coordinate/feature of a k-nn group by the coordinate/feature of the corresponding local center. Thus,
mean_xyz
andmean_x
are equivalent tolc_xyz
andlc_x
.
thanks, i get it.
`class LGA(nn.Module): def init(self, out_dim, alpha, beta): super().init() self.geo_extract = PosE_Geo(3, out_dim, alpha, beta)
why the code
mean_x = lc_x.unsqueeze(dim=-2)
can obtain the mean of lc_x?