/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_dce_test.cc | 153 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 …]
|
D | while_loop_constant_sinking.cc | 34 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()
|
D | hlo_instruction_test.cc | 118 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 …]
|
D | while_loop_expensive_invariant_code_motion.cc | 35 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()
|
D | hlo_constant_folding.cc | 79 if (instruction->user_count() == 0 && in Run() 125 if (operand->user_count() == 1 && operand->shape().IsArray()) { in Run()
|
D | multi_output_fusion.cc | 154 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()
|
D | reshape_mover.cc | 80 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()
|
D | slice_sinker.cc | 84 if (candidate->user_count() == 0) { in IsSimilarOperationOnSlices() 252 instruction->user_count() == 0) { in Run()
|
D | while_loop_constant_sinking_test.cc | 240 EXPECT_GT(inst->user_count(), 0); in TEST_F() 367 EXPECT_GT(inst->user_count(), 0); in TEST_F()
|
D | hlo_dce.cc | 52 instruction->user_count() == 0 && in RunOnComputation()
|
D | conditional_simplifier.cc | 296 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()
|
D | hlo_computation.cc | 205 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()
|
D | ar_crs_combiner.cc | 136 if (instruction->user_count() != 1) { in MatchesArCrsPattern() 171 instruction->user_count() == 1) { in MatchesArCrsPattern() 567 other_operand->user_count() == 1) { in RewriteGraph()
|
D | fusion_node_indexing_evaluation.cc | 73 cnt += user->fused_parameter(operand_index)->user_count(); in UserCount()
|
D | sort_simplifier.cc | 57 if (comparator->parameter_instruction(i)->user_count() > 0) { in RemoveUnusedOperandFromSort()
|
D | conditional_code_motion.cc | 615 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()
|
D | bfloat16_conversion_folding.cc | 103 if (hlo->user_count() == 0 || hlo->shape().element_type() != F32) { in AllUsersAreF32ToBF16Converts()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | multi_output_fusion.cc | 112 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()
|
D | gemm_rewriter.cc | 86 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()
|
D | fusion_merger.cc | 117 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()
|
D | cublas_gemm_pad_for_tensor_cores.cc | 106 bool is_root = dot->user_count() == 0; in PadForTensorCores()
|
D | cudnn_fused_conv_rewriter.cc | 144 if (instr && instr->user_count() > 1) { in FindConvWithRelu() 368 instr->operand(0)->user_count() == 1 && in RewriteForFinalOutput()
|
/external/python/jinja/tests/ |
D | test_ext.py | 269 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/ |
D | fscrypt.h | 156 __u32 user_count; member
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_instruction_fusion.cc | 53 return hlo_instr.user_count() == 1 && in HasExactlyOneUse()
|