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

Method insert_parameter

src/module.cpp:590–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588}
589
590instruction_ref module::insert_parameter(instruction_ref ins, std::string name, shape s)
591{
592 assert(get_parameter_shape(name) == shape{});
593 impl->insert(ins, {builtin::param{std::move(name), impl->nparams}, std::move(s), {}});
594 impl->nparams++;
595 return std::prev(ins);
596}
597
598instruction_ref module::replace_return(std::vector<instruction_ref> args)
599{

Callers 2

TEST_CASEFunction · 0.80
mod_from_valFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by 1

TEST_CASEFunction · 0.64