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

Function exists

diff2flow/models/unet/openaimodel.py:23–24  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

21
22
23def exists(x):
24 return x is not None
25
26# dummy replace
27def convert_module_to_f16(x):

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected