Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ isheatmap
Function
isheatmap
sat/sgm/util.py:210–214 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
208
209
210
def
isheatmap(x):
211
if
not isinstance(x, torch.Tensor):
212
return
False
213
214
return
x.ndim == 2
215
216
217
def
isneighbors(x):
Callers
1
log_video
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected