MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / get_main_module

Method get_main_module

src/program.cpp:1219–1219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1217module* program::get_module(const std::string& name) { return &impl->modules.at(name); }
1218
1219module* program::get_main_module() { return get_module("main"); }
1220
1221const module* program::get_main_module() const { return get_module("main"); }
1222

Callers 15

get_parameter_shapeMethod · 0.95
get_parameter_namesMethod · 0.95
get_parameterMethod · 0.95
get_parameter_shapesMethod · 0.95
get_output_shapesMethod · 0.95
validateMethod · 0.95
finalizeMethod · 0.95
print_graphMethod · 0.95
get_modulesMethod · 0.95
get_module_treeMethod · 0.95
remove_moduleMethod · 0.95
remove_unused_modulesMethod · 0.95

Calls

no outgoing calls

Tested by 15

TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64
create_programFunction · 0.64
TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64
create_programFunction · 0.64
create_programFunction · 0.64
TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64