MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetModule

Method GetModule

tensorflow/compiler/xla/service/hlo_instruction.cc:3640–3645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3638}
3639
3640HloModule* HloInstruction::GetModule() const {
3641 if (parent_) {
3642 return parent_->parent();
3643 }
3644 return nullptr;
3645}
3646
3647void HloInstruction::UniquifyName(NameUniquer* name_uniquer) {
3648 string parent_str = parent() == nullptr ? "noparent" : parent()->name();

Callers 15

ExtractModuleFunction · 0.80
PostOrderDFSFunction · 0.80
operator()Method · 0.80
ScatterLoopBodyFunction · 0.80
ExpandInstructionMethod · 0.80
TryRemoveDeadWhileParamsFunction · 0.80
TryRemoveConstantParamsFunction · 0.80
TryFlattenNestedTuplesFunction · 0.80
TEST_FFunction · 0.80

Calls 1

parentMethod · 0.45

Tested by 1

TEST_FFunction · 0.64