MCPcopy
hub / github.com/PaddlePaddle/PaddleRec / get_model

Function get_model

tools/utils/static_ps/program_helper.py:90–95  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

88
89
90def get_model(config):
91 abs_dir = config['config_abs_dir']
92 sys.path.append(abs_dir)
93 from static_model import StaticModel
94 static_model = StaticModel(config)
95 return static_model
96
97
98def set_dump_config(program, dump_config):

Callers 6

init_networkMethod · 0.90
networkMethod · 0.90
networkMethod · 0.90
networkMethod · 0.90
networkMethod · 0.90
networkMethod · 0.90

Calls 1

StaticModelClass · 0.90

Tested by

no test coverage detected