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.subtract %v1, %target : tensor<2x7xf32> %v3 = stablehlo.multiply %v2, %v2 : tensor<2x7xf32> %v4 = stablehlo.constant dense<2.00000000000000000e+00> : tensor<2x7xf32> %v5 = stablehlo.multiply %v4, %v2 : tensor<2x7xf32> %v6 = stablehlo.multiply %v5, %v1 : tensor<2x7xf32> %v7 = stablehlo.constant dense<1.00000000000000000e+00> : tensor<2x7xf32> %v8 = stablehlo.subtract %v7, %v1 : tensor<2x7xf32> %v9 = stablehlo.multiply %v6, %v8 : tensor<2x7xf32> return %v3, %v9 : tensor<2x7xf32>, tensor<2x7xf32> } }