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

Function TEST_F

tensorflow/compiler/xla/service/while_loop_simplifier_test.cc:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129TEST_F(WhileLoopSimplifierTest, LoopWithZeroIterationSimplified) {
130 auto m = MakeModuleWithSimpleLoop(/*num_iters=*/0);
131 ASSERT_TRUE(WhileLoopSimplifier().Run(m.get()).ValueOrDie());
132 EXPECT_THAT(m->entry_computation()->root_instruction(),
133 op::Tuple(op::Constant(), op::Constant()));
134}
135
136TEST_F(WhileLoopSimplifierTest,
137 LoopWithZeroIterationTupleElementLoopBoundSimplified) {

Callers

nothing calls this directly

Calls 15

WhileLoopSimplifierClass · 0.85
CreateTokenFunction · 0.85
MakeShapeFunction · 0.85
HloDCEClass · 0.85
FindFirstWhileFunction · 0.85
ParseShapeFunction · 0.85
TupleSimplifierClass · 0.85
PowerClass · 0.85
root_instructionMethod · 0.80
entry_computationMethod · 0.80
opcodeMethod · 0.80

Tested by

no test coverage detected