Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/MotionCtrl
/ exists
Function
exists
lvdm/common.py:45–46 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
43
return
d()
if
isfunction(d)
else
d
44
45
def
exists(val):
46
return
val is not None
47
48
def
identity(*args, **kwargs):
49
return
nn.Identity()
Callers
7
forward
Method · 0.90
forward
Method · 0.90
efficient_forward
Method · 0.90
forward
Method · 0.90
efficient_forward
Method · 0.90
register_schedule
Method · 0.90
default
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected