static */
| 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> |
| 1168 | HloInstruction::CreateBitcastConvert(const Shape& shape, |
nothing calls this directly
no test coverage detected