Home
last modified time | relevance | path

Searched refs:user_count (Results 1 – 25 of 48) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_dce_test.cc153 EXPECT_EQ(1, dead_param1->user_count()); in TEST_F()
159 EXPECT_EQ(0, dead_param1->user_count()); in TEST_F()
239 EXPECT_EQ(2, param->user_count()); in TEST_F()
240 EXPECT_EQ(0, dead_call->user_count()); in TEST_F()
247 EXPECT_EQ(1, param->user_count()); in TEST_F()
297 EXPECT_EQ(2, param->user_count()); in TEST_F()
298 EXPECT_EQ(0, live_while->user_count()); in TEST_F()
305 EXPECT_EQ(2, param->user_count()); in TEST_F()
306 EXPECT_EQ(0, live_while->user_count()); in TEST_F()
349 EXPECT_EQ(1, param->user_count()); in TEST_F()
[all …]
Dwhile_loop_constant_sinking.cc34 users.reserve(old_instr->user_count()); in ReplaceUsesWhileKeepingLoopInvariance()
78 if (invariant_body_gte->user_count() > 1) { in TrySinkingConstantsIntoWhileLoop()
95 if (invariant_cond_gte->user_count() > 0) { in TrySinkingConstantsIntoWhileLoop()
Dhlo_instruction_test.cc118 return count_iterator->second.user_count; in NumUsers()
124 int64 user_count; member
129 NumOpsAndUsers counts{node->operand_count(), node->user_count()}; in GetCountsForNode()
197 EXPECT_EQ(3, foo->user_count()); in TEST_F()
198 EXPECT_EQ(1, bar->user_count()); in TEST_F()
199 EXPECT_EQ(0, exp1->user_count()); in TEST_F()
200 EXPECT_EQ(0, exp2->user_count()); in TEST_F()
201 EXPECT_EQ(0, add->user_count()); in TEST_F()
230 EXPECT_EQ(1, foo->user_count()); in TEST_F()
425 EXPECT_EQ(2, foo->user_count()); in TEST_F()
[all …]
Dwhile_loop_expensive_invariant_code_motion.cc35 explicit InvariantInfo(int64 user_count) : remaining_user_count(user_count) {} in InvariantInfo()
164 instr, InvariantInfo(/*user_count=*/instr->user_count() - 1)); in TryHoistingInvariantInstructionsFromWhileBody()
219 instruction, InvariantInfo(/*user_count=*/instruction->user_count())); in TryHoistingInvariantInstructionsFromWhileBody()
Dhlo_constant_folding.cc79 if (instruction->user_count() == 0 && in Run()
125 if (operand->user_count() == 1 && operand->shape().IsArray()) { in Run()
Dmulti_output_fusion.cc154 CHECK_EQ(0, fused->user_count()); in Fuse()
192 if (instr->user_count() < 2) { in IsProfitableOperand()
314 if (instr1->user_count() == 0 || instr2->user_count() == 0) { in LegalToFuseMainConstraints()
Dreshape_mover.cc80 instruction->user_count() == 1) { in CanTriviallyChangeShape()
162 CHECK_EQ(operand->user_count(), 1); in UpdateOperand()
271 const bool is_dead = instruction->user_count() == 0 && in IsReshapeMoveCandidate()
Dslice_sinker.cc84 if (candidate->user_count() == 0) { in IsSimilarOperationOnSlices()
252 instruction->user_count() == 0) { in Run()
Dwhile_loop_constant_sinking_test.cc240 EXPECT_GT(inst->user_count(), 0); in TEST_F()
367 EXPECT_GT(inst->user_count(), 0); in TEST_F()
Dhlo_dce.cc52 instruction->user_count() == 0 && in RunOnComputation()
Dconditional_simplifier.cc296 if (conditional_op->user_count() == 0 && in ReplaceRootWithEmptyTupleIfNoUsers()
340 if (conditional_op->user_count() == 0 || in RemoveUnusedTupleElements()
492 if (conditional->user_count() == 0 || in MergeDuplicateTupleElements()
Dhlo_computation.cc205 if (param_instruction->user_count() == 0 && in RemoveUnusedParametersImpl()
262 TF_RET_CHECK(instruction->user_count() == 0); in RemoveInstructionAndUnusedOperands()
272 if (removed.contains(item) || item->user_count() != 0 || in RemoveInstructionAndUnusedOperands()
306 TF_RET_CHECK(instruction->user_count() == 0) in RemoveInstructionImpl()
736 if (instruction->user_count() == 0) { in FuseInstructionsInto()
950 if (instruction->user_count() == 0 && in CollectUnreachableRoots()
Dar_crs_combiner.cc136 if (instruction->user_count() != 1) { in MatchesArCrsPattern()
171 instruction->user_count() == 1) { in MatchesArCrsPattern()
567 other_operand->user_count() == 1) { in RewriteGraph()
Dfusion_node_indexing_evaluation.cc73 cnt += user->fused_parameter(operand_index)->user_count(); in UserCount()
Dsort_simplifier.cc57 if (comparator->parameter_instruction(i)->user_count() > 0) { in RemoveUnusedOperandFromSort()
Dconditional_code_motion.cc615 instr_to_remove->user_count() == 0) { in MoveInstructionOut()
655 int64 use_index = (tuple_use != nullptr && tuple_use->user_count() == 1) in MoveInstructionIn()
738 if (to_move_index < to_move_in_size - 1 && op->user_count() == 1 && in MoveInstructionIn()
784 if (op->user_count() == 0) { in MoveInstructionIn()
1135 ? next_boundary.operands()[0]->user_count() in IsSafeToMoveBoundary()
Dbfloat16_conversion_folding.cc103 if (hlo->user_count() == 0 || hlo->shape().element_type() != F32) { in AllUsersAreF32ToBF16Converts()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dmulti_output_fusion.cc112 if (producer->user_count() == 1 && in GetProducerConsumerMultiOutputFusionCandidates()
169 if (instr->user_count() == 0) { in IsSiblingFusionCandidate()
234 CHECK_EQ(0, fused->user_count()); in FuseSiblings()
302 CHECK_EQ(0, producer->user_count()); in DoMultiOutputFusion()
323 CHECK_EQ(0, producer->user_count()); in DoMultiOutputFusion()
Dgemm_rewriter.cc86 if (config.beta() == 0.0 && existing_gemm->user_count() == 1) { in HandleMultiply()
107 if (config.beta() == 0 && bias->user_count() == 1 && in HandleAdd()
108 existing_gemm->user_count() == 1 && in HandleAdd()
Dfusion_merger.cc117 return bytes_read + bytes_written * (fusion->user_count() + 1); in GetCurrentBytesTransferred()
123 return CalculateBytesReadByFusionInstruction(fusion) * fusion->user_count(); in GetMergedBytesTransferred()
246 (fusion->user_count() == 1 || (merged_to_current_bytes_ratio < 0.3 && in HandleFusion()
317 CHECK_EQ(0, fusion->user_count()) << fusion->ToString(); in HandleFusion()
Dcublas_gemm_pad_for_tensor_cores.cc106 bool is_root = dot->user_count() == 0; in PadForTensorCores()
Dcudnn_fused_conv_rewriter.cc144 if (instr && instr->user_count() > 1) { in FindConvWithRelu()
368 instr->operand(0)->user_count() == 1 && in RewriteForFinalOutput()
/external/python/jinja/tests/
Dtest_ext.py269 assert tmpl.render(LANGUAGE="de", user_count=1) == "Ein Benutzer online"
270 assert tmpl.render(LANGUAGE="de", user_count=2) == "2 Benutzer online"
297 assert tmpl.render(LANGUAGE="de", user_count=5) == "Benutzer: 5"
444 assert tmpl.render(LANGUAGE="de", user_count=1) == "Ein Benutzer online"
445 assert tmpl.render(LANGUAGE="de", user_count=2) == "2 Benutzer online"
461 assert tmpl.render(LANGUAGE="de", user_count=5) == "Benutzer: 5"
/external/kernel-headers/original/uapi/linux/
Dfscrypt.h156 __u32 user_count; member
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc53 return hlo_instr.user_count() == 1 && in HasExactlyOneUse()

12