Add overloads for Parameter which take an int64 specifying the parameter number.
| 2401 | // Add overloads for Parameter which take an int64 specifying the parameter |
| 2402 | // number. |
| 2403 | inline auto Parameter(int64 parameter_num) -> decltype( |
| 2404 | Op().WithOpcode(HloOpcode::kParameter).WithParameterNum(parameter_num)) { |
| 2405 | return Op().WithOpcode(HloOpcode::kParameter).WithParameterNum(parameter_num); |
| 2406 | } |
| 2407 | template <typename HloInstructionType> |
| 2408 | inline auto Parameter(HloInstructionType** matched_inst, int64 parameter_num) |
| 2409 | -> decltype(Op(matched_inst) |
nothing calls this directly
no test coverage detected