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

Function uniq

diff2flow/models/unet/attention.py:25–26  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

23
24
25def uniq(arr):
26 return{el: True for el in arr}.keys()
27
28
29def default(val, d):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected