Home
last modified time | relevance | path

Searched refs:OperandIndices (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dtranspose_folding.h28 using OperandIndices = std::vector<int64>;
32 using FoldableOperands = std::function<OperandIndices(const HloInstruction&,
33 const OperandIndices&)>;
38 static OperandIndices NeverFoldTranspose(const HloInstruction&, in NeverFoldTranspose()
39 const OperandIndices&) { in NeverFoldTranspose() argument
Dtranspose_folding.cc34 TransposeFolding::OperandIndices CanFoldOperandsIntoDot( in CanFoldOperandsIntoDot()
43 TransposeFolding::OperandIndices operand_set; in CanFoldOperandsIntoDot()
56 TransposeFolding::OperandIndices CanFoldOperandsIntoConvolution( in CanFoldOperandsIntoConvolution()
64 TransposeFolding::OperandIndices operand_set; in CanFoldOperandsIntoConvolution()
76 std::pair<HloInstruction*, TransposeFolding::OperandIndices>;
198 std::vector<std::pair<HloInstruction*, OperandIndices>> foldable_dots; in Run()
199 std::vector<std::pair<HloInstruction*, OperandIndices>> foldable_convolutions; in Run()
203 OperandIndices operand_indices = in Run()
210 OperandIndices operand_indices = CanFoldOperandsIntoConvolution( in Run()
Dtranspose_folding_test.cc49 const TransposeFolding::OperandIndices& candidate_operands) { in FoldTranspose()
53 const TransposeFolding::OperandIndices& candidate_operands) { in FoldTranspose()
98 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
102 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
126 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
130 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
Dtuple_points_to_analysis.cc647 for (int64 op_idx : alias_user->OperandIndices(alias.instruction())) { in GetAllUsesOfInstructionAtIndex()
666 if (fusion->OperandIndices(operand).size() > 1) { in HasUniqueFusedUseOfOperandAt()
766 std::vector<int64> operand_indices = user->OperandIndices(operand); in CanShareOperandBufferWithUser()
781 std::vector<int64> operand_indices = user->OperandIndices(operand); in CanShareOperandBufferWithUser()
789 std::vector<int64> operand_indices = user->OperandIndices(operand); in CanShareOperandBufferWithUser()
796 const std::vector<int64> operand_indices = user->OperandIndices(operand); in CanShareOperandBufferWithUser()
Dhlo_dataflow_analysis.cc64 for (const int64 use_index : user->OperandIndices(current)) { in AreTransitiveUsesElementwiseOrTuple()
693 for (int64 operand_number : user->OperandIndices(instruction)) { in Propagate()
1099 std::vector<int64> operand_indices = user->OperandIndices(operand); in CanShareOperandBufferWithUser()
1114 std::vector<int64> operand_indices = user->OperandIndices(operand); in CanShareOperandBufferWithUser()
Dhlo_value.cc180 for (int64 operand_number : user->OperandIndices(position.instruction)) { in SetPositionsAndComputeUses()
Dhlo_instruction.h1257 std::vector<int64> OperandIndices(const HloInstruction* operand) const;
Dalgebraic_simplifier.cc1998 DCHECK(!instruction->OperandIndices(operand).empty()); in OutputIsPermutationOfOperandElements()
2015 std::vector<int64> operand_indices = instruction->OperandIndices(operand); in OutputIsSubsetOfOperandElements()
Dlayout_assignment.cc1184 user->OperandIndices(buffer_alias.instruction())) { in GetArrayUsesOfBuffer()
Dhlo_instructions.cc45 std::vector<int64> operand_indices = instruction->OperandIndices(operand); in IsInstructionElementwiseOnOperand()
Dhlo_instruction.cc2838 std::vector<int64> HloInstruction::OperandIndices( in OperandIndices() function in xla::HloInstruction
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnvptx_compiler.cc246 const TransposeFolding::OperandIndices& candidate_operands) { in OptimizeHloModule()
248 : TransposeFolding::OperandIndices{}; in OptimizeHloModule()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion_test.cc186 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
216 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
247 const TransposeFolding::OperandIndices& candidate_operands) { in TEST_F()
Dcpu_compiler.cc314 const TransposeFolding::OperandIndices& candidate_operands) { in RunHloPassesThroughLayoutAssn()
318 : TransposeFolding::OperandIndices{}; in RunHloPassesThroughLayoutAssn()