Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternScience/SciReason
/ build_from_cfg
Function
build_from_cfg
opencompass/registry.py:49–51 ·
view source on GitHub ↗
A helper function that builds object with MMEngine's new config.
(cfg)
Source
from the content-addressed store, hash-verified
47
48
49
def
build_from_cfg(cfg):
50
""
"A helper function that builds object with MMEngine's new config."
""
51
return
PARTITIONERS.build(cfg)
Callers
2
main
Function · 0.90
main
Function · 0.90
Calls
1
build
Method · 0.80
Tested by
no test coverage detected