MCPcopy
hub / github.com/Stability-AI/generative-models / exists

Function exists

sgm/modules/attention.py:56–57  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

54
55
56def exists(val):
57 return val is not None
58
59
60def uniq(arr):

Callers 4

defaultFunction · 0.70
forwardMethod · 0.70
__init__Method · 0.70
__init__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected