Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
42
def
exists(v):
43
return
v is not None
44
45
46
def
default(v, d):
Callers
13
default
Function · 0.70
forward
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
forward
Method · 0.70
forward
Method · 0.70
__init__
Method · 0.70
load
Method · 0.70
encode
Method · 0.70
decode
Method · 0.70
forward
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected