tf_1.8_xla_doc
|
Functions | |
TransposeFolding::OperandIndices | CanFoldOperandsIntoDot (const HloInstruction &dot, const TransposeFolding::TransposableGemmOperandsFn &transposable_gemm_operands) |
bool | FoldTransposeIntoDot (InstructionOperandsPair pair) |
TransposeFolding::OperandIndices xla::anonymous_namespace{transpose_folding.cc}::CanFoldOperandsIntoDot | ( | const HloInstruction & | dot, |
const TransposeFolding::TransposableGemmOperandsFn & | transposable_gemm_operands | ||
) |
Decide if the operands can be folded into dot.
HloOpcode::kDot
IsRank2Transpose()
bool xla::anonymous_namespace{transpose_folding.cc}::FoldTransposeIntoDot | ( | InstructionOperandsPair | pair | ) |
Fuse instruction of kTrasposeDot
Google docs:
Folds the operands of
dot
that are foldable transposes.computation
is the parent HLO computation ofdot
. Returns whether the module is changed.