diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/webnn/resources/test_data/exp.json | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/webnn/resources/test_data/exp.json')
-rw-r--r-- | testing/web-platform/tests/webnn/resources/test_data/exp.json | 401 |
1 files changed, 401 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webnn/resources/test_data/exp.json b/testing/web-platform/tests/webnn/resources/test_data/exp.json new file mode 100644 index 0000000000..2de52d951e --- /dev/null +++ b/testing/web-platform/tests/webnn/resources/test_data/exp.json @@ -0,0 +1,401 @@ +{ + "tests": [ + { + "name": "exp float32 1D constant tensor", + "inputs": { + "x": { + "shape": [24], + "data": [ + 0.342143655338516, + -3.3109650690636583, + -3.696757542725746, + -5.105378072825206, + 5.471040383543361, + -0.06790750193598072, + 2.7373435551676373, + -3.547075850060808, + 5.3392248393586215, + -1.2636781380561768, + -0.9162953518691133, + -9.088432637604779, + -4.016050813135332, + 4.670352907446356, + 7.326991954708756, + 8.294342869341662, + -7.3454139558670795, + -0.9275799995316945, + -1.7085379363808997, + -9.737379277450184, + -1.9747875652397973, + 8.203150154065185, + -7.267597492286808, + -3.5890684093944714 + ], + "type": "float32", + "constant": true + } + }, + "expected": { + "name": "output", + "shape": [24], + "data": [ + 1.4079625606536865, + 0.03648095205426216, + 0.024803820997476578, + 0.006064045242965221, + 237.70733642578125, + 0.9343469142913818, + 15.44589900970459, + 0.02880876138806343, + 208.35113525390625, + 0.2826126217842102, + 0.39999815821647644, + 0.00011296502634650096, + 0.018024004995822906, + 106.73540496826172, + 1520.8004150390625, + 4001.173583984375, + 0.0006455459515564144, + 0.3955096900463104, + 0.18113042414188385, + 0.0000590350573475007, + 0.1387907862663269, + 3652.4365234375, + 0.0006977862794883549, + 0.02762405201792717 + ], + "type": "float32" + } + }, + { + "name": "exp float32 1D tensor", + "inputs": { + "x": { + "shape": [24], + "data": [ + 0.342143655338516, + -3.3109650690636583, + -3.696757542725746, + -5.105378072825206, + 5.471040383543361, + -0.06790750193598072, + 2.7373435551676373, + -3.547075850060808, + 5.3392248393586215, + -1.2636781380561768, + -0.9162953518691133, + -9.088432637604779, + -4.016050813135332, + 4.670352907446356, + 7.326991954708756, + 8.294342869341662, + -7.3454139558670795, + -0.9275799995316945, + -1.7085379363808997, + -9.737379277450184, + -1.9747875652397973, + 8.203150154065185, + -7.267597492286808, + -3.5890684093944714 + ], + "type": "float32" + } + }, + "expected": { + "name": "output", + "shape": [24], + "data": [ + 1.4079625606536865, + 0.03648095205426216, + 0.024803820997476578, + 0.006064045242965221, + 237.70733642578125, + 0.9343469142913818, + 15.44589900970459, + 0.02880876138806343, + 208.35113525390625, + 0.2826126217842102, + 0.39999815821647644, + 0.00011296502634650096, + 0.018024004995822906, + 106.73540496826172, + 1520.8004150390625, + 4001.173583984375, + 0.0006455459515564144, + 0.3955096900463104, + 0.18113042414188385, + 0.0000590350573475007, + 0.1387907862663269, + 3652.4365234375, + 0.0006977862794883549, + 0.02762405201792717 + ], + "type": "float32" + } + }, + { + "name": "exp float32 2D tensor", + "inputs": { + "x": { + "shape": [4, 6], + "data": [ + 0.342143655338516, + -3.3109650690636583, + -3.696757542725746, + -5.105378072825206, + 5.471040383543361, + -0.06790750193598072, + 2.7373435551676373, + -3.547075850060808, + 5.3392248393586215, + -1.2636781380561768, + -0.9162953518691133, + -9.088432637604779, + -4.016050813135332, + 4.670352907446356, + 7.326991954708756, + 8.294342869341662, + -7.3454139558670795, + -0.9275799995316945, + -1.7085379363808997, + -9.737379277450184, + -1.9747875652397973, + 8.203150154065185, + -7.267597492286808, + -3.5890684093944714 + ], + "type": "float32" + } + }, + "expected": { + "name": "output", + "shape": [4, 6], + "data": [ + 1.4079625606536865, + 0.03648095205426216, + 0.024803820997476578, + 0.006064045242965221, + 237.70733642578125, + 0.9343469142913818, + 15.44589900970459, + 0.02880876138806343, + 208.35113525390625, + 0.2826126217842102, + 0.39999815821647644, + 0.00011296502634650096, + 0.018024004995822906, + 106.73540496826172, + 1520.8004150390625, + 4001.173583984375, + 0.0006455459515564144, + 0.3955096900463104, + 0.18113042414188385, + 0.0000590350573475007, + 0.1387907862663269, + 3652.4365234375, + 0.0006977862794883549, + 0.02762405201792717 + ], + "type": "float32" + } + }, + { + "name": "exp float32 3D tensor", + "inputs": { + "x": { + "shape": [2, 3, 4], + "data": [ + 0.342143655338516, + -3.3109650690636583, + -3.696757542725746, + -5.105378072825206, + 5.471040383543361, + -0.06790750193598072, + 2.7373435551676373, + -3.547075850060808, + 5.3392248393586215, + -1.2636781380561768, + -0.9162953518691133, + -9.088432637604779, + -4.016050813135332, + 4.670352907446356, + 7.326991954708756, + 8.294342869341662, + -7.3454139558670795, + -0.9275799995316945, + -1.7085379363808997, + -9.737379277450184, + -1.9747875652397973, + 8.203150154065185, + -7.267597492286808, + -3.5890684093944714 + ], + "type": "float32" + } + }, + "expected": { + "name": "output", + "shape": [2, 3, 4], + "data": [ + 1.4079625606536865, + 0.03648095205426216, + 0.024803820997476578, + 0.006064045242965221, + 237.70733642578125, + 0.9343469142913818, + 15.44589900970459, + 0.02880876138806343, + 208.35113525390625, + 0.2826126217842102, + 0.39999815821647644, + 0.00011296502634650096, + 0.018024004995822906, + 106.73540496826172, + 1520.8004150390625, + 4001.173583984375, + 0.0006455459515564144, + 0.3955096900463104, + 0.18113042414188385, + 0.0000590350573475007, + 0.1387907862663269, + 3652.4365234375, + 0.0006977862794883549, + 0.02762405201792717 + ], + "type": "float32" + } + }, + { + "name": "exp float32 4D tensor", + "inputs": { + "x": { + "shape": [2, 2, 2, 3], + "data": [ + 0.342143655338516, + -3.3109650690636583, + -3.696757542725746, + -5.105378072825206, + 5.471040383543361, + -0.06790750193598072, + 2.7373435551676373, + -3.547075850060808, + 5.3392248393586215, + -1.2636781380561768, + -0.9162953518691133, + -9.088432637604779, + -4.016050813135332, + 4.670352907446356, + 7.326991954708756, + 8.294342869341662, + -7.3454139558670795, + -0.9275799995316945, + -1.7085379363808997, + -9.737379277450184, + -1.9747875652397973, + 8.203150154065185, + -7.267597492286808, + -3.5890684093944714 + ], + "type": "float32" + } + }, + "expected": { + "name": "output", + "shape": [2, 2, 2, 3], + "data": [ + 1.4079625606536865, + 0.03648095205426216, + 0.024803820997476578, + 0.006064045242965221, + 237.70733642578125, + 0.9343469142913818, + 15.44589900970459, + 0.02880876138806343, + 208.35113525390625, + 0.2826126217842102, + 0.39999815821647644, + 0.00011296502634650096, + 0.018024004995822906, + 106.73540496826172, + 1520.8004150390625, + 4001.173583984375, + 0.0006455459515564144, + 0.3955096900463104, + 0.18113042414188385, + 0.0000590350573475007, + 0.1387907862663269, + 3652.4365234375, + 0.0006977862794883549, + 0.02762405201792717 + ], + "type": "float32" + } + }, + { + "name": "exp float32 5D tensor", + "inputs": { + "x": { + "shape": [2, 1, 4, 1, 3], + "data": [ + 0.342143655338516, + -3.3109650690636583, + -3.696757542725746, + -5.105378072825206, + 5.471040383543361, + -0.06790750193598072, + 2.7373435551676373, + -3.547075850060808, + 5.3392248393586215, + -1.2636781380561768, + -0.9162953518691133, + -9.088432637604779, + -4.016050813135332, + 4.670352907446356, + 7.326991954708756, + 8.294342869341662, + -7.3454139558670795, + -0.9275799995316945, + -1.7085379363808997, + -9.737379277450184, + -1.9747875652397973, + 8.203150154065185, + -7.267597492286808, + -3.5890684093944714 + ], + "type": "float32" + } + }, + "expected": { + "name": "output", + "shape": [2, 1, 4, 1, 3], + "data": [ + 1.4079625606536865, + 0.03648095205426216, + 0.024803820997476578, + 0.006064045242965221, + 237.70733642578125, + 0.9343469142913818, + 15.44589900970459, + 0.02880876138806343, + 208.35113525390625, + 0.2826126217842102, + 0.39999815821647644, + 0.00011296502634650096, + 0.018024004995822906, + 106.73540496826172, + 1520.8004150390625, + 4001.173583984375, + 0.0006455459515564144, + 0.3955096900463104, + 0.18113042414188385, + 0.0000590350573475007, + 0.1387907862663269, + 3652.4365234375, + 0.0006977862794883549, + 0.02762405201792717 + ], + "type": "float32" + } + } + ] +}
\ No newline at end of file |