Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Pointcept/PointTransformerV3
/ batch2offset
Function
batch2offset
model.py:44–45 ·
view source on GitHub ↗
(batch)
Source
from the content-addressed store, hash-verified
42
43
@torch.inference_mode()
44
def
batch2offset(batch):
45
return
torch.cumsum(batch.bincount(), dim=0).long()
46
47
48
class
Point(Dict):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected