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

Method CreateBitcastConvert

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

static */

Source from the content-addressed store, hash-verified

1165}
1166
1167/* static */ std::unique_ptr<HloInstruction>
1168HloInstruction::CreateBitcastConvert(const Shape& shape,
1169 HloInstruction* operand) {
1170 auto instruction =
1171 absl::WrapUnique(new HloInstruction(HloOpcode::kBitcastConvert, shape));
1172 instruction->AppendOperand(operand);
1173 return instruction;
1174}
1175
1176/* static */ std::unique_ptr<HloInstruction> HloInstruction::CreateBitcast(
1177 const Shape& shape, HloInstruction* operand) {

Callers

nothing calls this directly

Calls 2

WrapUniqueFunction · 0.85
AppendOperandMethod · 0.80

Tested by

no test coverage detected