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