Home
last modified time | relevance | path

Searched refs:GatherExpander (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_expander_test.cc46 Status status = GatherExpander{GatherExpander::kEliminateAllGathers} in TEST_F()
76 GatherExpander{GatherExpander::kEliminateAllGathers}.Run(module.get())); in TEST_F()
139 GatherExpander{GatherExpander::kEliminateAllGathers}.Run(module.get())); in TEST_F()
176 GatherExpander pass(GatherExpander::kEliminateSimpleGathers); in TEST_F()
199 GatherExpander pass(GatherExpander::kEliminateAllGathers); in TEST_F()
Dgather_expander.h39 class GatherExpander : public OpExpanderPass {
46 explicit GatherExpander(Mode m) : mode_(m) {} in GatherExpander() function
Dgather_expander.cc323 StatusOr<HloInstruction*> GatherExpander::ExpandInstruction( in ExpandInstruction()
381 bool GatherExpander::InstructionMatchesPattern(HloInstruction* inst) { in InstructionMatchesPattern()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_compiler.cc355 pass.AddPass<GatherExpander>(GatherExpander::kEliminateSimpleGathers); in RunHloPassesThroughLayoutAssn()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.cc229 pass.AddPass<GatherExpander>(GatherExpander::kEliminateSimpleGathers); in OptimizeHloModule()