tx · BM99xHVxdCc9EqbXsCkM7ZWSZhTJvHtirzap69CgHG6L

3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY:  -0.01000000 Waves

2024.04.28 14:36 [3082664] smart account 3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY > SELF 0.00000000 Waves

{ "type": 13, "id": "BM99xHVxdCc9EqbXsCkM7ZWSZhTJvHtirzap69CgHG6L", "fee": 1000000, "feeAssetId": null, "timestamp": 1714304197056, "version": 2, "chainId": 84, "sender": "3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY", "senderPublicKey": "2AWdnJuBMzufXSjTvzVcawBQQhnhF1iXR6QNVgwn33oc", "proofs": [ "4EvVPj4SU2LdiokNyue3UHYqYUw44mikgCAXZzTeEwvnkq9XT3HvZhRmRmHYjTWbmZjNWtGZYagnviE1PCKiNWRh" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAgAAAAADWxheWVyMVdlaWdodHMJAARMAAAAAgkABEwAAAACAAAAAAAACSmxCQAETAAAAAIAAAAAAAAJKp0FAAAAA25pbAkABEwAAAACCQAETAAAAAIAAAAAAAAGUfUJAARMAAAAAgAAAAAAAAZSLQUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMUJpYXNlcwkABEwAAAACAP///////AwWCQAETAAAAAIA///////2TQoFAAAAA25pbAAAAAANbGF5ZXIyV2VpZ2h0cwkABEwAAAACCQAETAAAAAIAAAAAAAAMtcYJAARMAAAAAgD///////JPigUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMkJpYXNlcwkABEwAAAACAP//////+i8FBQAAAANuaWwBAAAACWV4cEFwcHJveAAAAAEAAAABeAQAAAAHc2NhbGVkWAkAAGsAAAADBQAAAAF4AAAAAAAAAAABAAAAAAAAAAPoBAAAAAhzY2FsZWRYMgkAAGsAAAADBQAAAAdzY2FsZWRYBQAAAAdzY2FsZWRYAAAAAAAAAAPoBAAAAAV0ZXJtMQkAAGUAAAACAAAAAAAAA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jE0OAAAAAJfMQQAAAAMbGF5ZXIxT3V0cHV0CAUAAAALJHQwMjA1MDIxNDgAAAACXzIEAAAACyR0MDIxNTMyMjU3CQEAAAARZm9yd2FyZFBhc3NMYXllcjIAAAAEBQAAAAxsYXllcjFPdXRwdXQFAAAADWxheWVyMldlaWdodHMFAAAADGxheWVyMkJpYXNlcwIAAAAGTGF5ZXIyBAAAAAtkZWJ1Z0xheWVyMggFAAAACyR0MDIxNTMyMjU3AAAAAl8xBAAAAAxsYXllcjJPdXRwdXQIBQAAAAskdDAyMTUzMjI1NwAAAAJfMgkABE4AAAACCQAETgAAAAIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABnJlc3VsdAUAAAAMbGF5ZXIyT3V0cHV0BQAAAANuaWwFAAAAC2RlYnVnTGF5ZXIxBQAAAAtkZWJ1Z0xheWVyMgAAAACQWE7L", "height": 3082664, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G1kcT9nY3LG3KisZWKpcB8Yt76ixtTVHpy1AaMFAazRY Next: Caw5hteY6VE5wJWUtbXE6eTkgJhAS89NUjyTEgyWD7vy Diff:
OldNewDifferences
1010 let d = [-381179]
1111
1212 func e (f) = {
13- let g = fraction(f, 1, 1000000)
14- let h = fraction(g, g, 1000000)
15- let i = (1000000 - g)
16- let j = fraction(h, 500000, 1)
13+ let g = fraction(f, 1, 1000)
14+ let h = fraction(g, g, 1000)
15+ let i = (1000 - g)
16+ let j = fraction(h, 500, 1)
1717 (i + j)
1818 }
1919
2020
2121 func k (l,m) = {
2222 let n = e(-(l))
23- let o = (1000000 + n)
24- let p = fraction(1000000000000, o, 1)
23+ let o = (1000 + n)
24+ let p = fraction(1000, o, 1)
2525 $Tuple2([IntegerEntry((m + "inputZ"), l), IntegerEntry((m + "expNegZ"), n), IntegerEntry((m + "onePlusExpNegZ"), o), IntegerEntry((m + "sigValue"), p)], p)
2626 }
2727
2828
2929 func q (r,s,t,m) = {
30- let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + (t[0] * 1000000))
31- let v = (((r[0] * s[1][0]) + (r[1] * s[1][1])) + (t[1] * 1000000))
30+ let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + t[0])
31+ let v = (((r[0] * s[1][0]) + (r[1] * s[1][1])) + t[1])
3232 let w = k(u, "Layer1N0")
3333 let x = w._1
3434 let y = w._2
4242
4343
4444 func E (r,s,t,m) = {
45- let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + (t[0] * 1000000))
45+ let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + t[0])
4646 let F = k(u, "Layer2N0")
4747 let x = F._1
4848 let y = F._2
5555 @Callable(G)
5656 func predict (H,I) = {
5757 let J = if ((H == 1))
58- then 1000000
58+ then 1
5959 else 0
6060 let K = if ((I == 1))
61- then 1000000
61+ then 1
6262 else 0
6363 let L = [J, K]
6464 let M = q(L, a, b, "Layer1")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = [[600497, 600733], [414197, 414253]]
55
66 let b = [-259050, -635638]
77
88 let c = [[832966, -897142]]
99
1010 let d = [-381179]
1111
1212 func e (f) = {
13- let g = fraction(f, 1, 1000000)
14- let h = fraction(g, g, 1000000)
15- let i = (1000000 - g)
16- let j = fraction(h, 500000, 1)
13+ let g = fraction(f, 1, 1000)
14+ let h = fraction(g, g, 1000)
15+ let i = (1000 - g)
16+ let j = fraction(h, 500, 1)
1717 (i + j)
1818 }
1919
2020
2121 func k (l,m) = {
2222 let n = e(-(l))
23- let o = (1000000 + n)
24- let p = fraction(1000000000000, o, 1)
23+ let o = (1000 + n)
24+ let p = fraction(1000, o, 1)
2525 $Tuple2([IntegerEntry((m + "inputZ"), l), IntegerEntry((m + "expNegZ"), n), IntegerEntry((m + "onePlusExpNegZ"), o), IntegerEntry((m + "sigValue"), p)], p)
2626 }
2727
2828
2929 func q (r,s,t,m) = {
30- let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + (t[0] * 1000000))
31- let v = (((r[0] * s[1][0]) + (r[1] * s[1][1])) + (t[1] * 1000000))
30+ let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + t[0])
31+ let v = (((r[0] * s[1][0]) + (r[1] * s[1][1])) + t[1])
3232 let w = k(u, "Layer1N0")
3333 let x = w._1
3434 let y = w._2
3535 let z = k(v, "Layer1N1")
3636 let A = z._1
3737 let B = z._2
3838 let C = (x ++ A)
3939 let D = [y, B]
4040 $Tuple2(C, D)
4141 }
4242
4343
4444 func E (r,s,t,m) = {
45- let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + (t[0] * 1000000))
45+ let u = (((r[0] * s[0][0]) + (r[1] * s[0][1])) + t[0])
4646 let F = k(u, "Layer2N0")
4747 let x = F._1
4848 let y = F._2
4949 let C = x
5050 let D = y
5151 $Tuple2(C, D)
5252 }
5353
5454
5555 @Callable(G)
5656 func predict (H,I) = {
5757 let J = if ((H == 1))
58- then 1000000
58+ then 1
5959 else 0
6060 let K = if ((I == 1))
61- then 1000000
61+ then 1
6262 else 0
6363 let L = [J, K]
6464 let M = q(L, a, b, "Layer1")
6565 let N = M._1
6666 let O = M._2
6767 let P = E(O, c, d, "Layer2")
6868 let Q = P._1
6969 let R = P._2
7070 (([IntegerEntry("result", R)] ++ N) ++ Q)
7171 }
7272
7373

github/deemru/w8io/3ef1775 
158.01 ms