Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/AnimeGamer
/ isheatmap
Function
isheatmap
VDM_Decoder/vae_modules/utils.py:204–208 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
202
203
204
def
isheatmap(x):
205
if
not isinstance(x, torch.Tensor):
206
return
False
207
208
return
x.ndim == 2
209
210
211
def
isneighbors(x):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected