Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
def
exists(val):
24
return
val is not None
25
26
27
def
uniq(arr):
Callers
4
default
Function · 0.70
forward
Method · 0.70
forward
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected