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

Method ConsumeModules

tensorflow/compiler/xla/service/hlo_module_group.cc:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::vector<std::unique_ptr<HloModule>> HloModuleGroup::ConsumeModules() {
44 std::vector<std::unique_ptr<HloModule>> ret_modules = std::move(modules_);
45
46 // Clear everything so the object state is in a known (empty) state.
47 modules_.clear();
48 module_ptrs_.clear();
49 return ret_modules;
50}
51
52string HloModuleGroup::ToString() const {
53 std::ostringstream s;

Callers 5

CompileMethod · 0.80
TEST_FFunction · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileAheadOfTimeMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 1

TEST_FFunction · 0.64