Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
61
def
exists(val):
62
return
val is not None
63
64
65
def
load_model_weights(model, ckpt_path, strict=True, verbose=True):
Callers
9
check_config
Function · 0.90
main
Function · 0.90
configure_optimizers
Method · 0.90
encode_first_stage
Method · 0.90
decode_first_stage
Method · 0.90
training_step
Method · 0.90
validation_step
Method · 0.90
inference
Method · 0.90
evaluate_and_visualize_batch
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected