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