Searched refs:IsElementwise (Results 1 – 13 of 13) sorted by relevance
43 TF_RET_CHECK(!(hlo->IsElementwise() && hlo->operand_count() == 2)) in TEST_F()45 TF_RET_CHECK(!(hlo->IsElementwise() && hlo->operand_count() == 1)) in TEST_F()52 TF_RET_CHECK(hlo->IsElementwise() && hlo->operand_count() == 2) in TEST_F()58 TF_RET_CHECK(hlo->IsElementwise() && hlo->operand_count() == 1) in TEST_F()
46 if (inst->IsElementwise()) { in ChooseIdentityValue()
272 if (!instruction->IsElementwise() || instruction->operands().empty() || in IsReshapeMoveCandidate()
1013 EXPECT_TRUE(add->IsElementwise()); in TEST_F()1033 EXPECT_TRUE(map->IsElementwise()); in TEST_F()1075 EXPECT_FALSE(fusion->IsElementwise()); in TEST_F()1116 EXPECT_FALSE(fusion->IsElementwise()); in TEST_F()
138 if (instr->IsElementwise() && instr->operand_count() == 1) { in ComputeArrayFor()143 } else if (instr->IsElementwise() && instr->operand_count() == 2) { in ComputeArrayFor()
2437 if (IsElementwise()) { in ToCategory()2850 return IsElementwise() && operand_count() == 2; in IsElementwiseBinary()2853 bool HloInstruction::IsElementwise() const { in IsElementwise() function in xla::HloInstruction2966 return IsElementwise() ? UseKind::kUse : UseKind::kReuse; in OperandElementUse()
1238 bool IsElementwise() const;
1182 if (fused->opcode() != HloOpcode::kParameter && !fused->IsElementwise()) { in IsElementwiseImpl()1202 if (user->IsElementwise() || in IsElementwiseImpl()
2404 if (!user->IsElementwise()) { in TryToSinkBroadcastAfterOpWithUniqueNonScalarOperand()3714 if (map_root->opcode() == HloOpcode::kFusion || !map_root->IsElementwise()) { in HandleMap()
56 instr->IsElementwise()); in IsFusible()161 if (!producer->IsElementwise() && !is_loop_fusion) { in DoProducerConsumerMultiOutputFusion()
163 return (instr.IsElementwise() && instr.operand_count() > 0) || in IsLoopFusible()
2247 if (hlo.IsElementwise() || in EmitTargetElementLoop()3309 if (hlo->IsElementwise()) { in IsInstructionSafeForShmemTranspose()3562 (user->IsElementwise() && in AreUsersElementwise()
33 return hlo.IsElementwise() || // in CanBeLoopFused()