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

Method instruction_count

tensorflow/compiler/xla/service/hlo_module.cc:548–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548int64 HloModule::instruction_count() const {
549 int64 n = 0;
550 for (const auto& computation : computations_) {
551 n += computation->instruction_count();
552 }
553 return n;
554}
555
556std::vector<HloComputation*> HloModule::MakeComputationPostOrder() const {
557 // First determine all root computations by building a set of nonroot

Callers 15

TEST_FFunction · 0.45
TEST_FFunction · 0.45
VerifyComputationsMethod · 0.45
TEST_FFunction · 0.45
VerifyMethod · 0.45
PostOrderDFSFunction · 0.45
CreateScheduleMethod · 0.45
DFSMemorySchedulerFunction · 0.45
RunMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 12

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
XLA_TEST_FFunction · 0.36