MCPcopy 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
204def isheatmap(x):
205 if not isinstance(x, torch.Tensor):
206 return False
207
208 return x.ndim == 2
209
210
211def isneighbors(x):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected