Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CompVis/zigma
/ uniq
Function
uniq
model_zigma.py:85–86 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
83
84
85
def
uniq(arr):
86
return
{el: True
for
el in arr}.keys()
87
88
89
def
default(val, d):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected