tx · BKm1fGjneVAZtyFXdKv5eE84qs1rP7eV61jjb4vcD86B

3Moz6HJhucpFh4V3VScXhd9efei4Curytfj:  -0.01000000 Waves

2023.10.28 17:09 [2818589] smart account 3Moz6HJhucpFh4V3VScXhd9efei4Curytfj > SELF 0.00000000 Waves

{ "type": 13, "id": "BKm1fGjneVAZtyFXdKv5eE84qs1rP7eV61jjb4vcD86B", "fee": 1000000, "feeAssetId": null, "timestamp": 1698502189963, "version": 2, "chainId": 84, "sender": "3Moz6HJhucpFh4V3VScXhd9efei4Curytfj", "senderPublicKey": "Ec1VLg3r1E7mwHmaNidmoKrFAUJ55UVJFq3J1YKRy5Zm", "proofs": [ "rHckDj1dWSd3KmwCBTBBn2gCfzkzBrMzHKJdmes2a38q5yY52fkTp2ouW37fbMNVxnXSMB5wmDmV1fHzRbSuDSw" ], "script": "base64:BgIHCAISAwoBEQoAB3dlaWdodDEJAMwIAgkAzAgCAI0wCQDMCAIAhuj/////////AQkAzAgCAMZeCQDMCAIAmYcBBQNuaWwJAMwIAgkAzAgCAKDh/////////wEJAMwIAgD36/////////8BCQDMCAIAgOr/////////AQkAzAgCAIgDBQNuaWwJAMwIAgkAzAgCAOkzCQDMCAIArAIJAMwIAgCrWQkAzAgCAKVbBQNuaWwJAMwIAgkAzAgCALUgCQDMCAIAodn/////////AQkAzAgCAM/n/////////wEJAMwIAgCVBwUDbmlsCQDMCAIJAMwIAgCmMQkAzAgCALq3/////////wEJAMwIAgDERAkAzAgCAIoCBQNuaWwJAMwIAgkAzAgCAPH7/////////wEJAMwIAgDqKwkAzAgCANXo/////////wEJAMwIAgDNnf////////8BBQNuaWwJAMwIAgkAzAgCAMw2CQDMCAIAw9T/////////AQkAzAgCAPlZCQDMCAIA/XIFA25pbAkAzAgCCQDMCAIAgBUJAMwIAgCvLgkAzAgCALi1/////////wEJAMwIAgCIu/////////8BBQNuaWwJAMwIAgkAzAgCAKoSCQDMCAIApDQJAMwIAgCTzv////////8BCQDMCAIArJj/////////AQUDbmlsCQDMCAIJAMwIAgDkFgkAzAgCAPpUCQDMCAIAorH/////////AQkAzAgCAJSp/////////wEFA25pbAkAzAgCCQDMCAIAx+b/////////AQkAzAgCAJqUAQkAzAgCANaU/////////wEJAMwIAgCs7v7///////8BBQNuaWwJAMwIAgkAzAgCAK1TCQDMCAIA7sj/////////AQkAzAgCAL+DAQkAzAgCALuHAQUDbmlsBQNuaWwAB2JpYXNlczEJAMwIAgCR7v////////8BCQDMCAIA0Ob/////////AQkAzAgCAL7V/////////wEJAMwIAgCe4v////////8BCQDMCAIA8xwJAMwIAgDvWwkAzAgCAP/1/////////wEJAMwIAgCGWAkAzAgCAINjCQDMCAIA6F0JAMwIAgCNVAkAzAgCALzv/////////wEFA25pbAAHd2VpZ2h0MgkAzAgCCQDMCAIAvZL/////////AQkAzAgCANb+/////////wEJAMwIAgCYmv////////8BCQDMCAIAiBMJAMwIAgCjpP////////8BCQDMCAIAy2sJAMwIAgCzh/////////8BCQDMCAIAwGMJAMwIAgD0agkAzAgCAPJzCQDMCAIA8Y4BCQDMCAIAnp7/////////AQUDbmlsCQDMCAIJAMwIAgDt+f////////8BCQDMCAIAjQQJAMwIAgDW1P////////8BCQDMCAIA5P//////////AQkAzAgCAMIdCQDMCAIA0nIJAMwIAgDKAgkAzAgCAMJ4CQDMCAIAs2sJAMwIAgCXTgkAzAgCAKja/v///////wEJAMwIAgDRAwUDbmlsCQDMCAIJAMwIAgChMAkAzAgCAMUICQDMCAIAsEsJAMwIAgChDgkAzAgCALcKCQDMCAIAg97+////////AQkAzAgCAMY1CQDMCAIA17f+////////AQkAzAgCAJ26/v///////wEJAMwIAgCy8P7///////8BCQDMCAIAoLz/////////AQkAzAgCAKI8BQNuaWwFA25pbAAFYmlhczIJAMwIAgC3MwkAzAgCAMgyCQDMCAIAjNz/////////AQUDbmlsAQRyZWx1AQF4AwkAZgIFAXgAAAUBeAAAAQRjYWxjAwVpbnB1dAZ3ZWlnaHQEYmlhcwQEY2FsYwkAZAIJA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QZvdXRwdXQAAAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQ1jYWxsZXJBZGRyZXNzAgJfMgkAkQMCBQZvdXRwdXQAAQkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQ1jYWxsZXJBZGRyZXNzAgJfMwkAkQMCBQZvdXRwdXQAAgUDbmlsANPp5pE=", "height": 2818589, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H6sz7NuGC9FLhvsbx9yZGoLpzr36iZs7xEWSaQQTAc5S Next: 3yXAAVQ7hMyV4mpM7j8V8iJYvsLoYdyi3DGY5qod2bQT Diff:
OldNewDifferences
3939 let ouput_layer10 = relu(calc(input, weight1[9], biases1[9]))
4040 let ouput_layer11 = relu(calc(input, weight1[10], biases1[10]))
4141 let ouput_layer12 = relu(calc(input, weight1[11], biases1[11]))
42-[ouput_layer1, ouput_layer2, ouput_layer3, ouput_layer4, ouput_layer5, ouput_layer6, ouput_layer6, ouput_layer7, ouput_layer8, ouput_layer9, ouput_layer10, ouput_layer11, ouput_layer12]
42+[ouput_layer1, ouput_layer2, ouput_layer3, ouput_layer4, ouput_layer5, ouput_layer6, ouput_layer7, ouput_layer8, ouput_layer9, ouput_layer10, ouput_layer11, ouput_layer12]
4343 }
4444
4545
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let weight1 = [[6157, -3066, 12102, 17305], [-3936, -2569, -2816, 392], [6633, 300, 11435, 11685], [4149, -4959, -3121, 917], [6310, -9286, 8772, 266], [-527, 5610, -2987, -12595], [6988, -5565, 11513, 14717], [2688, 5935, -9544, -8824], [2346, 6692, -6381, -13268], [2916, 10874, -10078, -11116], [-3257, 18970, -13738, -18644], [10669, -7058, 16831, 17339]]
55
66 let biases1 = [-2287, -3248, -5442, -3810, 3699, 11759, -1281, 11270, 12675, 12008, 10765, -2116]
77
88 let weight2 = [[-14019, -170, -13032, 2440, -11741, 13771, -15437, 12736, 13684, 14834, 18289, -12514], [-787, 525, -5546, -28, 3778, 14674, 330, 15426, 13747, 10007, -21208, 465], [6177, 1093, 9648, 1825, 1335, -20733, 6854, -25641, -25315, -18382, -8672, 7714]]
99
1010 let bias2 = [6583, 6472, -4596]
1111
1212 func relu (x) = if ((x > 0))
1313 then x
1414 else 0
1515
1616
1717 func calc (input,weight,bias) = {
1818 let calc = (((((input[0] * weight[0]) + (input[1] * weight[1])) + (input[2] * weight[2])) + (input[3] * weight[3])) + bias)
1919 calc
2020 }
2121
2222
2323 func calc_second_layer (input,weight,bias) = {
2424 let calc_second = (((((((((((((input[0] * weight[0]) + (input[1] * weight[1])) + (input[2] * weight[2])) + (input[3] * weight[3])) + (input[4] * weight[4])) + (input[5] * weight[5])) + (input[6] * weight[6])) + (input[7] * weight[7])) + (input[8] * weight[8])) + (input[9] * weight[9])) + (input[10] * weight[10])) + (input[11] * weight[11])) + bias)
2525 calc_second
2626 }
2727
2828
2929 func calculateFirstLayer (input) = {
3030 let ouput_layer1 = relu(calc(input, weight1[0], biases1[0]))
3131 let ouput_layer2 = relu(calc(input, weight1[1], biases1[1]))
3232 let ouput_layer3 = relu(calc(input, weight1[2], biases1[2]))
3333 let ouput_layer4 = relu(calc(input, weight1[3], biases1[3]))
3434 let ouput_layer5 = relu(calc(input, weight1[4], biases1[4]))
3535 let ouput_layer6 = relu(calc(input, weight1[5], biases1[5]))
3636 let ouput_layer7 = relu(calc(input, weight1[6], biases1[6]))
3737 let ouput_layer8 = relu(calc(input, weight1[7], biases1[7]))
3838 let ouput_layer9 = relu(calc(input, weight1[8], biases1[8]))
3939 let ouput_layer10 = relu(calc(input, weight1[9], biases1[9]))
4040 let ouput_layer11 = relu(calc(input, weight1[10], biases1[10]))
4141 let ouput_layer12 = relu(calc(input, weight1[11], biases1[11]))
42-[ouput_layer1, ouput_layer2, ouput_layer3, ouput_layer4, ouput_layer5, ouput_layer6, ouput_layer6, ouput_layer7, ouput_layer8, ouput_layer9, ouput_layer10, ouput_layer11, ouput_layer12]
42+[ouput_layer1, ouput_layer2, ouput_layer3, ouput_layer4, ouput_layer5, ouput_layer6, ouput_layer7, ouput_layer8, ouput_layer9, ouput_layer10, ouput_layer11, ouput_layer12]
4343 }
4444
4545
4646 func calculateSecondLayer (input) = {
4747 let output_layer1 = calc_second_layer(input, weight2[0], bias2[0])
4848 let output_layer2 = calc_second_layer(input, weight2[1], bias2[1])
4949 let output_layer3 = calc_second_layer(input, weight2[2], bias2[2])
5050 [output_layer1, output_layer2, output_layer3]
5151 }
5252
5353
5454 func forward_prop (input) = {
5555 let first_layer = calculateFirstLayer(input)
5656 let second_layer = calculateSecondLayer(first_layer)
5757 second_layer
5858 }
5959
6060
6161 @Callable(i)
6262 func prediction (input) = {
6363 let output = forward_prop(input)
6464 let callerAddress = toString(i.caller)
6565 [IntegerEntry((callerAddress + "_1"), output[0]), IntegerEntry((callerAddress + "_2"), output[1]), IntegerEntry((callerAddress + "_3"), output[2])]
6666 }
6767
6868

github/deemru/w8io/169f3d6 
29.06 ms