MCPcopy Create free account
hub / github.com/CompVis/diff2flow / exists

Function exists

diff2flow/models/unet/attention.py:21–22  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

19_ATTN_PRECISION = os.environ.get("ATTN_PRECISION", "fp32")
20
21def exists(val):
22 return val is not None
23
24
25def 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