MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / default

Function default

preprocess/SpaTrackV2_code/models/blocks.py:34–35  ·  view source on GitHub ↗
(val, d)

Source from the content-addressed store, hash-verified

32
33
34def default(val, d):
35 return val if exists(val) else d
36
37
38to_2tuple = _ntuple(2)

Callers 2

__init__Method · 0.70
forwardMethod · 0.70

Calls 1

existsFunction · 0.70

Tested by

no test coverage detected