module { func.func @main(%weight: tensor<2x7xf32>, %grad: tensor<2x7xf32>, %moment: tensor<2x7xf32>, %lr: tensor<2x7xf32>, %decay: 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, %moment : tensor<2x7xf32> %v3 = stablehlo.constant dense<1.00000000000000006e-01> : tensor<2x7xf32> %v4 = stablehlo.multiply %v3, %grad : tensor<2x7xf32> %v5 = stablehlo.add %v2, %v4 : tensor<2x7xf32> %v6 = stablehlo.sign %v5 : tensor<2x7xf32> %v7 = stablehlo.constant dense<1.00000000000000000e+00> : tensor<2x7xf32> %v8 = stablehlo.multiply %lr, %decay : tensor<2x7xf32> %v9 = stablehlo.subtract %v7, %v8 : tensor<2x7xf32> %v10 = stablehlo.multiply %weight, %v9 : tensor<2x7xf32> %v11 = stablehlo.multiply %lr, %v6 : tensor<2x7xf32> %v12 = stablehlo.subtract %v10, %v11 : tensor<2x7xf32> %v13 = stablehlo.constant dense<9.89999999999999991e-01> : tensor<2x7xf32> %v14 = stablehlo.multiply %v13, %moment : tensor<2x7xf32> %v15 = stablehlo.constant dense<1.00000000000000002e-02> : tensor<2x7xf32> %v16 = stablehlo.multiply %v15, %grad : tensor<2x7xf32> %v17 = stablehlo.add %v14, %v16 : tensor<2x7xf32> return %v12, %v17 : tensor<2x7xf32>, tensor<2x7xf32> } }