Home
last modified time | relevance | path

Searched refs:called_computations (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_graph.cc79 absl::StrJoin(called_computations(), ", ", in ToString()
109 if (!instruction->called_computations().empty()) { in AddCallSiteForInstruction()
114 CallSite(instruction, instruction->called_computations(), context)); in AddCallSiteForInstruction()
117 for (auto* callee : callsites_.back().called_computations()) { in AddCallSiteForInstruction()
210 for (const HloComputation* callee : callsite.called_computations()) { in SetCallContexts()
302 for (auto* callee : callsite.called_computations()) { in Build()
Dcall_graph.h62 const std::vector<HloComputation*>& called_computations, in CallSite() argument
65 called_computations_(called_computations), in CallSite()
72 const std::vector<HloComputation*>& called_computations() const { in called_computations() function
Dbfloat16_normalization_test.cc212 EXPECT_EQ(reduce->called_computations().size(), 1); in TEST_F()
213 EXPECT_EQ(reduce->called_computations()[0]->num_parameters(), 2); in TEST_F()
214 EXPECT_EQ(reduce->called_computations()[0] in TEST_F()
219 EXPECT_EQ(reduce->called_computations()[0] in TEST_F()
224 EXPECT_EQ(reduce->called_computations()[0] in TEST_F()
Dcall_graph_test.cc230 EXPECT_THAT(call_callsite.called_computations(), in TEST_F()
237 EXPECT_THAT(map_callsite.called_computations(), in TEST_F()
280 EXPECT_THAT(conditional_callsite.called_computations(), in TEST_F()
361 const std::vector<HloComputation*>& called_computations = in TEST_F() local
362 entry_node.callsites()[0].called_computations(); in TEST_F()
363 EXPECT_THAT(called_computations, in TEST_F()
Dbfloat16_normalization.cc214 for (auto* comp : hlo->called_computations()) { in HandleMultipleOutputs()
288 for (auto* comp : hlo->called_computations()) { in HandleInstruction()
336 if (hlo->called_computations().empty() && in HandleInstruction()
Dhlo_dce.cc75 for (auto* subcomp : instruction->called_computations()) { in Run()
Dhlo_constant_folding.cc58 for (const HloComputation* c : instr->called_computations()) { in IsOrContainsIllegalInstr()
Dhlo_query.cc113 for (const HloComputation* subcomp : instr->called_computations()) { in ContainsInstrWithOpcode()
Dbfloat16_support.cc113 HloComputation* reduce_comp = hlo.called_computations()[0]; in EffectiveOperandPrecisionIsOutputPrecision()
Dflatten_call_graph.cc103 for (auto callee : instruction->called_computations()) { in FlattenNode()
Dar_crs_combiner.cc73 !computation_is_addition(instruction->called_computations()[0]) || in MatchesArCrsPattern()
88 computation_is_addition(next->called_computations()[0])) { in MatchesArCrsPattern()
Dcall_inliner.cc129 const auto& callees = call->called_computations(); in Inline()
Dhlo_graph_dumper.cc670 for (const HloComputation* subcomp : instr->called_computations()) { in DumpComputation()
1235 for (int64 i = 0; i < instr->called_computations().size(); ++i) { in GetInstructionTrivialComputationStr()
1237 MatchTrivialComputation(instr->called_computations()[i]); in GetInstructionTrivialComputationStr()
1241 if (instr->called_computations().size() == 1) { in GetInstructionTrivialComputationStr()
1299 for (const HloComputation* computation : instr->called_computations()) { in MakeNodeRadiusAroundFilter()
Dhlo_element_type_converter.cc152 TF_RET_CHECK(hlo->called_computations().empty()) << hlo->ToString(); in Run()
Dhlo_liveness_analysis.cc297 for (auto* called_computation : instruction->called_computations()) { in RunAnalysis()
Dhlo_verifier.cc86 if (!hlo->called_computations().empty() && !IsCallerInstruction(hlo)) { in Preprocess()
1282 TF_RET_CHECK(fusion->called_computations() == in CheckFusionInstruction()
1290 << ComputationsToString(fusion->called_computations()); in CheckFusionInstruction()
Dheap_simulator.cc300 instruction->called_computations()) { in RunComputation()
535 for (const auto* c : instruction->called_computations()) { in AccountForSubcomputationMemory()
Dhlo_rematerialization.cc964 for (const HloComputation* computation : callsite->called_computations()) { in CalledComputationsMemoryUsage()
1146 callsite->called_computations()) { in RematerializeComputation()
Dhlo_memory_scheduler.cc233 for (const auto* c : instruction->called_computations()) { in BytesFreedIfScheduled()
Dhlo_instruction_test.cc779 EXPECT_THAT(fusion->called_computations(), ElementsAre(fused_computation)); in TEST_F()
782 EXPECT_THAT(fusion->called_computations(), ElementsAre(fused_computation)); in TEST_F()
785 EXPECT_THAT(fusion->called_computations(), ElementsAre(fused_computation)); in TEST_F()
Dhlo_instruction.cc1260 for (const auto& computation : called_computations()) { in HasSideEffect()
2314 } else if (!called_computations().empty()) { in ExtraAttributesToString()
2317 StrJoin(called_computations(), ", ", in ExtraAttributesToString()
2363 if (!called_computations().empty()) { in ExtraAttributesToString()
2366 StrJoin(called_computations(), ", ", in ExtraAttributesToString()
Dhlo_module.cc507 instruction->called_computations()) { in MakeComputationPostOrder()
Dhlo_instructions.h1130 return called_computations()[kSelectComputationIndex]; in select()
1134 return called_computations()[kScatterComputationIndex]; in scatter()
Dhlo_instructions.cc1328 CHECK(!called_computations().empty()); in fused_instructions_computation()
1329 auto* fused_instructions_computation = called_computations().front(); in fused_instructions_computation()
1385 if (called_computations().empty()) { in CloneAndFuseInternal()
Dhlo_dataflow_analysis.cc689 for (HloComputation* called_computation : user->called_computations()) { in Propagate()

12