module {
  func.func @main(%weight: tensor<2x7xf32>, %grad: tensor<2x7xf32>, %velocity: tensor<2x7xf32>, %lr: tensor<2x7xf32>) -> (tensor<2x7xf32>, tensor<2x7xf32>) {
    %v0 = stablehlo.constant dense<0.00000000000000000e+00> : tensor<2x7xf32>
    %v1 = stablehlo.constant dense<9.00000000000000022e-01> : tensor<2x7xf32>
    %v2 = stablehlo.multiply %v1, %velocity : tensor<2x7xf32>
    %v3 = stablehlo.add %v2, %grad : tensor<2x7xf32>
    %v4 = stablehlo.multiply %lr, %v3 : tensor<2x7xf32>
    %v5 = stablehlo.subtract %weight, %v4 : tensor<2x7xf32>
    return %v5, %v3 : tensor<2x7xf32>, tensor<2x7xf32>
  }
}
