MCPcopy
hub / github.com/Pointcept/PointTransformerV3 / hilbert_encode

Function hilbert_encode

serialization/default.py:54–55  ·  view source on GitHub ↗
(grid_coord: torch.Tensor, depth: int = 16)

Source from the content-addressed store, hash-verified

52
53
54def hilbert_encode(grid_coord: torch.Tensor, depth: int = 16):
55 return hilbert_encode_(grid_coord, num_dims=3, num_bits=depth)
56
57
58def hilbert_decode(code: torch.Tensor, depth: int = 16):

Callers 1

encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected