| 3257 | } |
| 3258 | |
| 3259 | XlaOp Max(const XlaOp lhs, const XlaOp rhs, |
| 3260 | absl::Span<const int64> broadcast_dimensions) { |
| 3261 | return lhs.builder()->BinaryOp(HloOpcode::kMaximum, lhs, rhs, |
| 3262 | broadcast_dimensions); |
| 3263 | } |
| 3264 | |
| 3265 | XlaOp Min(const XlaOp lhs, const XlaOp rhs, |
| 3266 | absl::Span<const int64> broadcast_dimensions) { |