MCPcopy
hub / github.com/zai-org/CogVideo / exists

Function exists

sat/sgm/modules/autoencoding/magvit2_pytorch.py:42–43  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

40
41
42def exists(v):
43 return v is not None
44
45
46def default(v, d):

Callers 13

defaultFunction · 0.70
forwardMethod · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70
forwardMethod · 0.70
forwardMethod · 0.70
__init__Method · 0.70
loadMethod · 0.70
encodeMethod · 0.70
decodeMethod · 0.70
forwardMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected