module { func.func @main(%x: tensor<2x7xf32>, %label: tensor<2x7xf32>) -> (tensor<2x7xf32>, tensor<2x7xf32>) { %v0 = stablehlo.constant dense<0.00000000000000000e+00> : tensor<2x7xf32> %v1 = stablehlo.constant dense<1.00000000000000000e+00> : tensor<2x7xf32> %v2 = stablehlo.multiply %label, %x : tensor<2x7xf32> %v3 = stablehlo.subtract %v1, %v2 : tensor<2x7xf32> %v4 = stablehlo.maximum %v3, %v0 : tensor<2x7xf32> %v5 = stablehlo.multiply %v4, %v4 : tensor<2x7xf32> %v6 = stablehlo.constant dense<2.00000000000000000e+00> : tensor<2x7xf32> %v7 = stablehlo.negate %v6 : tensor<2x7xf32> %v8 = stablehlo.multiply %v7, %label : tensor<2x7xf32> %v9 = stablehlo.multiply %v8, %v4 : tensor<2x7xf32> return %v5, %v9 : tensor<2x7xf32>, tensor<2x7xf32> } }