MCPcopy 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
45def exists(val):
46 return val is not None
47
48def identity(*args, **kwargs):
49 return nn.Identity()

Callers 7

forwardMethod · 0.90
forwardMethod · 0.90
efficient_forwardMethod · 0.90
forwardMethod · 0.90
efficient_forwardMethod · 0.90
register_scheduleMethod · 0.90
defaultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected