static */
| 1165 | } |
| 1166 | |
| 1167 | /* static */ std::unique_ptr<HloInstruction> |
| 1168 | HloInstruction::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) { |
nothing calls this directly
no test coverage detected