MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / exists

Function exists

ldm/modules/attention.py:23–24  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

21_ATTN_PRECISION = os.environ.get("ATTN_PRECISION", "fp32")
22
23def exists(val):
24 return val is not None
25
26
27def uniq(arr):

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected