Searched refs:sum_builder (Results 1 – 3 of 3) sorted by relevance
220 HloComputation::Builder sum_builder("add"); in TEST_F() local221 auto x = sum_builder.AddInstruction(HloInstruction::CreateParameter( in TEST_F()223 auto y = sum_builder.AddInstruction(HloInstruction::CreateParameter( in TEST_F()225 sum_builder.AddInstruction(HloInstruction::CreateBinary( in TEST_F()227 HloComputation* sum = module->AddEmbeddedComputation(sum_builder.Build()); in TEST_F()
87 HloComputation::Builder sum_builder(HloOpcodeString(type)); in MakeReduction() local88 auto x = sum_builder.AddInstruction(HloInstruction::CreateParameter( in MakeReduction()90 auto y = sum_builder.AddInstruction(HloInstruction::CreateParameter( in MakeReduction()92 sum_builder.AddInstruction( in MakeReduction()95 module->AddEmbeddedComputation(sum_builder.Build()); in MakeReduction()
240 HloComputation::Builder sum_builder("sum"); in TEST_F() local241 auto x = sum_builder.AddInstruction(HloInstruction::CreateParameter( in TEST_F()243 auto y = sum_builder.AddInstruction(HloInstruction::CreateParameter( in TEST_F()245 sum_builder.AddInstruction(HloInstruction::CreateBinary( in TEST_F()248 module->AddEmbeddedComputation(sum_builder.Build()); in TEST_F()