MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CreateBitcast

Method CreateBitcast

tensorflow/compiler/xla/service/hlo_instruction.cc:1176–1182  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

1174}
1175
1176/* static */ std::unique_ptr<HloInstruction> HloInstruction::CreateBitcast(
1177 const Shape& shape, HloInstruction* operand) {
1178 auto instruction =
1179 absl::WrapUnique(new HloInstruction(HloOpcode::kBitcast, shape));
1180 instruction->AppendOperand(operand);
1181 return instruction;
1182}
1183
1184/* static */ std::unique_ptr<HloInstruction> HloInstruction::CreateReduce(
1185 const Shape& shape, HloInstruction* operand, HloInstruction* init_value,

Callers

nothing calls this directly

Calls 2

WrapUniqueFunction · 0.85
AppendOperandMethod · 0.80

Tested by

no test coverage detected