MCPcopy 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
49def build_from_cfg(cfg):
50 """A helper function that builds object with MMEngine's new config."""
51 return PARTITIONERS.build(cfg)

Callers 2

mainFunction · 0.90
mainFunction · 0.90

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected