module {
  func.func @main(%winner: tensor<2x7xf32>, %loser: tensor<2x7xf32>) -> (tensor<2x7xf32>, tensor<2x7xf32>, tensor<2x7xf32>) {
    %v0 = stablehlo.constant dense<0.00000000000000000e+00> : tensor<2x7xf32>
    %v1 = stablehlo.subtract %loser, %winner : tensor<2x7xf32>
    %v2 = stablehlo.logistic %v1 : tensor<2x7xf32>
    %v3 = stablehlo.maximum %v1, %v0 : tensor<2x7xf32>
    %v4 = stablehlo.abs %v1 : tensor<2x7xf32>
    %v5 = stablehlo.negate %v4 : tensor<2x7xf32>
    %v6 = stablehlo.exponential %v5 : tensor<2x7xf32>
    %v7 = stablehlo.log_plus_one %v6 : tensor<2x7xf32>
    %v8 = stablehlo.add %v3, %v7 : tensor<2x7xf32>
    %v9 = stablehlo.negate %v2 : tensor<2x7xf32>
    return %v8, %v9, %v2 : tensor<2x7xf32>, tensor<2x7xf32>, tensor<2x7xf32>
  }
}
