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

Method normalized_operator

src/instruction.cpp:505–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505operation instruction::normalized_operator() const
506{
507 operation o = this->get_operator();
508 if(this->need_normalization())
509 {
510 auto s = this->inputs().front()->get_shape();
511 if(not normalize_attributes(o, s))
512 return this->get_operator();
513 }
514 return o;
515}
516std::size_t instruction::get_target_id() const { return target_id; }
517
518void instruction::set_target_id(std::size_t tid) { this->target_id = tid; }

Callers 4

generic_evalFunction · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80

Calls 5

need_normalizationMethod · 0.95
normalize_attributesFunction · 0.85
frontMethod · 0.80
get_shapeMethod · 0.45
inputsMethod · 0.45

Tested by

no test coverage detected