tf_1.8_xla_doc
|
#include <hlo_instruction.h>
Public Types | |
enum | FusionKind { , FusionKind::kInput, FusionKind::kOutput, FusionKind::kTransposeDot, FusionKind::kCustom } |
Static Public Member Functions | |
static std::unique_ptr< HloInstruction > | CreateFusion (const Shape &shape, FusionKind fusion_kind, HloInstruction *fused_root) |
HLO instructions are the IR used by the high-level compiler.
|
strong |
|
static |
Google docs:
Creates a fusion instruction. A fusion instruction contains one or more fused instructions forming an expression with a single root "fused_root". Additional instructions can be added to the fusion instruction with the method
xla::HloInstruction::FuseInstruction
.