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

Method add_params

src/module.cpp:1096–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1094}
1095
1096void module::add_params(const std::vector<instruction_ref>& inputs,
1097 std::unordered_map<instruction_ref, instruction_ref>* map_ins,
1098 const std::function<shape(const shape&)>& shape_transform)
1099{
1100 std::unordered_map<instruction_ref, instruction_ref> default_map_ins;
1101 if(map_ins == nullptr)
1102 map_ins = &default_map_ins;
1103 insert_params(*this, inputs, *map_ins, shape_transform);
1104}
1105
1106std::vector<instruction_ref>
1107module::fuse(const std::vector<instruction_ref>& inss,

Callers 3

TEST_CASEFunction · 0.80
TEST_CASEFunction · 0.80
applyMethod · 0.80

Calls 1

insert_paramsFunction · 0.85

Tested by 2

TEST_CASEFunction · 0.64
TEST_CASEFunction · 0.64