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

Method CreateConvert

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

static */

Source from the content-addressed store, hash-verified

1157}
1158
1159/* static */ std::unique_ptr<HloInstruction> HloInstruction::CreateConvert(
1160 const Shape& shape, HloInstruction* operand) {
1161 auto instruction =
1162 absl::WrapUnique(new HloInstruction(HloOpcode::kConvert, shape));
1163 instruction->AppendOperand(operand);
1164 return instruction;
1165}
1166
1167/* static */ std::unique_ptr<HloInstruction>
1168HloInstruction::CreateBitcastConvert(const Shape& shape,

Callers

nothing calls this directly

Calls 2

WrapUniqueFunction · 0.85
AppendOperandMethod · 0.80

Tested by

no test coverage detected