MCPcopy Index your code
hub / github.com/CompVis/diff2flow / exists

Function exists

diff2flow/helpers.py:61–62  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

59
60
61def exists(val):
62 return val is not None
63
64
65def load_model_weights(model, ckpt_path, strict=True, verbose=True):

Callers 9

check_configFunction · 0.90
mainFunction · 0.90
configure_optimizersMethod · 0.90
encode_first_stageMethod · 0.90
decode_first_stageMethod · 0.90
training_stepMethod · 0.90
validation_stepMethod · 0.90
inferenceMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected