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