MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / default_replace_func

Function default_replace_func

yolox/utils/model_utils.py:91–92  ·  view source on GitHub ↗
(replaced_module_type, new_module_type)

Source from the content-addressed store, hash-verified

89 """
90
91 def default_replace_func(replaced_module_type, new_module_type):
92 return new_module_type()
93
94 if replace_func is None:
95 replace_func = default_replace_func

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected