MCPcopy Index your code
hub / github.com/modelscope/modelscope / build_hook

Function build_hook

modelscope/trainers/hooks/builder.py:7–9  ·  view source on GitHub ↗
(cfg, default_args=None)

Source from the content-addressed store, hash-verified

5
6
7def build_hook(cfg, default_args=None):
8 return build_from_cfg(
9 cfg, HOOKS, group_key=default_group, default_args=default_args)

Callers

nothing calls this directly

Calls 1

build_from_cfgFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…