Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
54
def
hilbert_encode(grid_coord: torch.Tensor, depth: int = 16):
55
return
hilbert_encode_(grid_coord, num_dims=3, num_bits=depth)
56
57
58
def
hilbert_decode(code: torch.Tensor, depth: int = 16):
Callers
1
encode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected