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

Function find_inputs

src/param_utils.cpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82std::vector<instruction_ref>
83find_inputs(const std::unordered_map<instruction_ref, instruction_ref>& map_ins,
84 const_module_ref parent,
85 const_module_ref sub)
86{
87 return find_inputs_impl(map_ins, sub, [&](instruction_ref ins) {
88 if(parent == nullptr)
89 return false;
90 return parent->has_instruction(ins);
91 });
92}
93
94std::vector<instruction_ref>
95find_inputs(const std::unordered_map<instruction_ref, instruction_ref>& map_ins,

Callers 8

append_pointwise_moduleFunction · 0.85
applyMethod · 0.85
applyMethod · 0.85
applyMethod · 0.85
applyMethod · 0.85
applyMethod · 0.85
applyMethod · 0.85
applyMethod · 0.85

Calls 3

find_inputs_implFunction · 0.85
containsFunction · 0.85
has_instructionMethod · 0.45

Tested by

no test coverage detected