diff options
Diffstat (limited to 'compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8')
7 files changed, 181 insertions, 0 deletions
diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/fake_quantization/weight.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/fake_quantization/weight.json new file mode 100644 index 000000000..e1da53ab0 --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/fake_quantization/weight.json @@ -0,0 +1,76 @@ +{ + "weights": [ + [ + 1.0039215087890625, + 2.007843017578125, + -3.0117650032043457, + -4.015686511993408, + -5.019608497619629, + 6.023530006408691, + -7.027451515197754, + 7.9686279296875, + 4.01568603515625, + -2.007843494415283, + 3.0117645263671875, + -1.0039215087890625, + -7.9686279296875, + -6.023530006408691, + 7.027451515197754, + 5.019608497619629 + ], + [ + 1.0039215087890625, + 2.007843017578125, + -3.0117650032043457, + -4.015686511993408, + -5.019608497619629, + 6.023530006408691, + -7.027451515197754, + 7.9686279296875, + 4.01568603515625, + -2.007843494415283, + 3.0117645263671875, + -1.0039215087890625, + -7.9686279296875, + -6.023530006408691, + 7.027451515197754, + 5.019608497619629 + ], + [ + 1.0039215087890625, + 2.007843017578125, + -3.0117650032043457, + -4.015686511993408, + -5.019608497619629, + 6.023530006408691, + -7.027451515197754, + 7.9686279296875, + 4.01568603515625, + -2.007843494415283, + 3.0117645263671875, + -1.0039215087890625, + -7.9686279296875, + -6.023530006408691, + 7.027451515197754, + 5.019608497619629 + ], + [ + 1.0039215087890625, + 2.007843017578125, + -3.0117650032043457, + -4.015686511993408, + -5.019608497619629, + 6.023530006408691, + -7.027451515197754, + 7.9686279296875, + 4.01568603515625, + -2.007843494415283, + 3.0117645263671875, + -1.0039215087890625, + -7.9686279296875, + -6.023530006408691, + 7.027451515197754, + 5.019608497619629 + ] + ] +} diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/bias.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/bias.json new file mode 100644 index 000000000..ecb49bb64 --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/bias.json @@ -0,0 +1,9 @@ +{ + "weights": [ + 415, + -829, + -1244, + 1658 + ], + "scale": 0.00241205753304663 +} diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/in.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/in.json new file mode 100644 index 000000000..654824b5d --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/in.json @@ -0,0 +1,4 @@ +{ + "scale": 0.03844216465950012, + "zero_point": 126.0 +} diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/out.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/out.json new file mode 100644 index 000000000..3baa42155 --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/out.json @@ -0,0 +1,4 @@ +{ + "scale": 0.741962730884552, + "zero_point": 156.0 +} diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/weight.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/weight.json new file mode 100644 index 000000000..940224049 --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/quantization/weight.json @@ -0,0 +1,80 @@ +{ + "weights": [ + [ + 143, + 159, + 79, + 63, + 47, + 223, + 15, + 254, + 191, + 95, + 175, + 111, + 0, + 31, + 239, + 207 + ], + [ + 143, + 159, + 79, + 63, + 47, + 223, + 15, + 254, + 191, + 95, + 175, + 111, + 0, + 31, + 239, + 207 + ], + [ + 143, + 159, + 79, + 63, + 47, + 223, + 15, + 254, + 191, + 95, + 175, + 111, + 0, + 31, + 239, + 207 + ], + [ + 143, + 159, + 79, + 63, + 47, + 223, + 15, + 254, + 191, + 95, + 175, + 111, + 0, + 31, + 239, + 207 + ] + ], + "scale": 0.062745101749897, + "zero_point": 127.0, + "min": -7.9686279296875, + "max": 8.031373023986816 +} diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/record_minmax/in.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/record_minmax/in.json new file mode 100644 index 000000000..a8ec5b2b6 --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/record_minmax/in.json @@ -0,0 +1,4 @@ +{ + "min": -4.832756385803223, + "max": 4.969995346069336 +} diff --git a/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/record_minmax/out.json b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/record_minmax/out.json new file mode 100644 index 000000000..de3b41564 --- /dev/null +++ b/compiler/pota-quantization-value-test/expected_outputs/FullyConnected_003/layer/uint8/record_minmax/out.json @@ -0,0 +1,4 @@ +{ + "min": -115.99438369750976, + "max": 73.20612327575684 +} |