module {
  func.func @main(%weight: tensor<2x7xf32>, %grad: tensor<2x7xf32>, %variance: tensor<2x7xf32>, %lr: tensor<2x7xf32>) -> (tensor<2x7xf32>, tensor<2x7xf32>) {
    %v0 = stablehlo.constant dense<0.00000000000000000e+00> : tensor<2x7xf32>
    %v1 = stablehlo.constant dense<9.89999999999999991e-01> : tensor<2x7xf32>
    %v2 = stablehlo.multiply %v1, %variance : tensor<2x7xf32>
    %v3 = stablehlo.constant dense<1.00000000000000002e-02> : tensor<2x7xf32>
    %v4 = stablehlo.multiply %v3, %grad : tensor<2x7xf32>
    %v5 = stablehlo.multiply %v4, %grad : tensor<2x7xf32>
    %v6 = stablehlo.add %v2, %v5 : tensor<2x7xf32>
    %v7 = stablehlo.multiply %lr, %grad : tensor<2x7xf32>
    %v8 = stablehlo.sqrt %v6 : tensor<2x7xf32>
    %v9 = stablehlo.constant dense<1.00000000000000002e-08> : tensor<2x7xf32>
    %v10 = stablehlo.add %v8, %v9 : tensor<2x7xf32>
    %v11 = stablehlo.divide %v7, %v10 : tensor<2x7xf32>
    %v12 = stablehlo.subtract %weight, %v11 : tensor<2x7xf32>
    return %v12, %v6 : tensor<2x7xf32>, tensor<2x7xf32>
  }
}
