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

Method __init__

modules/voxelization.py:10–14  ·  view source on GitHub ↗
(self, resolution, normalize=True, eps=0)

Source from the content-addressed store, hash-verified

8
9class Voxelization(nn.Module):
10 def __init__(self, resolution, normalize=True, eps=0):
11 super().__init__()
12 self.r = int(resolution)
13 self.normalize = normalize
14 self.eps = eps
15
16 def forward(self, features, coords):
17 coords = coords.detach()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected