tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 90a322c8abfbf01d1735cedb6df4730083152aea
parent 3ae1ffb42381ac76fce1ace129f15de54d5c48c7
Author: Phillis Tang <phillis@chromium.org>
Date:   Thu,  8 Jan 2026 17:37:13 +0000

Bug 2008954 [wpt PR 57043] - webnn: update cos and sin to be within range, a=testonly

Automatic update from web-platform-tests
webnn: update cos and sin to be within range

WGSL only guarantee floating point precision for cos and sin for input
within [-pi, pi]

Bug: 460534989
Change-Id: Iedb1aef9b7c33601fed204234819c4ad874afc8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7401352
Auto-Submit: Phillis Tang <phillis@chromium.org>
Commit-Queue: Phillis Tang <phillis@chromium.org>
Reviewed-by: Hu, Ningxin <ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1565823}

--

wpt-commits: 6bb9f13986ac566f42d66b96f123428ac0b0b502
wpt-pr: 57043

Diffstat:
Mtesting/web-platform/tests/webnn/conformance_tests/cos.https.any.js | 140++++++++++++++++++++++++++++++++++++++-----------------------------------------
Mtesting/web-platform/tests/webnn/conformance_tests/sin.https.any.js | 146++++++++++++++++++++++++++++++++++++-------------------------------------------
2 files changed, 134 insertions(+), 152 deletions(-)

diff --git a/testing/web-platform/tests/webnn/conformance_tests/cos.https.any.js b/testing/web-platform/tests/webnn/conformance_tests/cos.https.any.js @@ -29,7 +29,7 @@ const cosTests = [ 'graph': { 'inputs': { 'cosInput': { - 'data': [85.56369018554688], + 'data': [-2.4009041149673322], 'descriptor': {shape: [], dataType: 'float32'} } }, @@ -52,14 +52,14 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.56369018554688, -45.09983825683594, -94.67750549316406, - 83.49029541015625, -31.367904663085938, 70.18042755126953, - -90.36229705810547, -83.00758361816406, 61.51649475097656, - -32.51877975463867, -48.3765869140625, -58.02735900878906, - 89.79197692871094, -84.53326416015625, -58.23252487182617, - -76.14168548583984, -59.058876037597656, 77.38546752929688, - -98.67289733886719, -63.6115608215332, 26.85724639892578, - 83.70417022705078, 76.56607055664062, -47.83436584472656 + -2.4009041149673322, -1.1175411065788339, -0.429725885470269, + 1.808886416821629, 0.04802187281199366, 1.0653891722940827, + -2.3977027575912615, -1.3261746248294415, -1.3153583208192998, + -1.1028532187407407, 1.8888955433741899, -1.4786912441727864, + 1.8273826281967303, -2.851855166821629, -1.6838571072098958, + -0.743461799684809, -2.51020827298138, 1.9872438431418402, + 1.8580675760061922, -0.7797077497373408, 1.7245051702074363, + 2.0227612337161602, 1.1678468704855902, 2.4311166127101274 ], 'descriptor': {shape: [24], dataType: 'float32'}, 'constant': true @@ -93,14 +93,14 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.56369018554688, -45.09983825683594, -94.67750549316406, - 83.49029541015625, -31.367904663085938, 70.18042755126953, - -90.36229705810547, -83.00758361816406, 61.51649475097656, - -32.51877975463867, -48.3765869140625, -58.02735900878906, - 89.79197692871094, -84.53326416015625, -58.23252487182617, - -76.14168548583984, -59.058876037597656, 77.38546752929688, - -98.67289733886719, -63.6115608215332, 26.85724639892578, - 83.70417022705078, 76.56607055664062, -47.83436584472656 + -2.4009041149673322, -1.1175411065788339, -0.429725885470269, + 1.808886416821629, 0.04802187281199366, 1.0653891722940827, + -2.3977027575912615, -1.3261746248294415, -1.3153583208192998, + -1.1028532187407407, 1.8888955433741899, -1.4786912441727864, + 1.8273826281967303, -2.851855166821629, -1.6838571072098958, + -0.743461799684809, -2.51020827298138, 1.9872438431418402, + 1.8580675760061922, -0.7797077497373408, 1.7245051702074363, + 2.0227612337161602, 1.1678468704855902, 2.4311166127101274 ], 'descriptor': {shape: [24], dataType: 'float32'} } @@ -133,14 +133,14 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.56369018554688, -45.09983825683594, -94.67750549316406, - 83.49029541015625, -31.367904663085938, 70.18042755126953, - -90.36229705810547, -83.00758361816406, 61.51649475097656, - -32.51877975463867, -48.3765869140625, -58.02735900878906, - 89.79197692871094, -84.53326416015625, -58.23252487182617, - -76.14168548583984, -59.058876037597656, 77.38546752929688, - -98.67289733886719, -63.6115608215332, 26.85724639892578, - 83.70417022705078, 76.56607055664062, -47.83436584472656 + -2.4009041149673322, -1.1175411065788339, -0.429725885470269, + 1.808886416821629, 0.04802187281199366, 1.0653891722940827, + -2.3977027575912615, -1.3261746248294415, -1.3153583208192998, + -1.1028532187407407, 1.8888955433741899, -1.4786912441727864, + 1.8273826281967303, -2.851855166821629, -1.6838571072098958, + -0.743461799684809, -2.51020827298138, 1.9872438431418402, + 1.8580675760061922, -0.7797077497373408, 1.7245051702074363, + 2.0227612337161602, 1.1678468704855902, 2.4311166127101274 ], 'descriptor': {shape: [4, 6], dataType: 'float32'} } @@ -173,14 +173,14 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.56369018554688, -45.09983825683594, -94.67750549316406, - 83.49029541015625, -31.367904663085938, 70.18042755126953, - -90.36229705810547, -83.00758361816406, 61.51649475097656, - -32.51877975463867, -48.3765869140625, -58.02735900878906, - 89.79197692871094, -84.53326416015625, -58.23252487182617, - -76.14168548583984, -59.058876037597656, 77.38546752929688, - -98.67289733886719, -63.6115608215332, 26.85724639892578, - 83.70417022705078, 76.56607055664062, -47.83436584472656 + -2.4009041149673322, -1.1175411065788339, -0.429725885470269, + 1.808886416821629, 0.04802187281199366, 1.0653891722940827, + -2.3977027575912615, -1.3261746248294415, -1.3153583208192998, + -1.1028532187407407, 1.8888955433741899, -1.4786912441727864, + 1.8273826281967303, -2.851855166821629, -1.6838571072098958, + -0.743461799684809, -2.51020827298138, 1.9872438431418402, + 1.8580675760061922, -0.7797077497373408, 1.7245051702074363, + 2.0227612337161602, 1.1678468704855902, 2.4311166127101274 ], 'descriptor': {shape: [2, 3, 4], dataType: 'float32'} } @@ -213,14 +213,14 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.56369018554688, -45.09983825683594, -94.67750549316406, - 83.49029541015625, -31.367904663085938, 70.18042755126953, - -90.36229705810547, -83.00758361816406, 61.51649475097656, - -32.51877975463867, -48.3765869140625, -58.02735900878906, - 89.79197692871094, -84.53326416015625, -58.23252487182617, - -76.14168548583984, -59.058876037597656, 77.38546752929688, - -98.67289733886719, -63.6115608215332, 26.85724639892578, - 83.70417022705078, 76.56607055664062, -47.83436584472656 + -2.4009041149673322, -1.1175411065788339, -0.429725885470269, + 1.808886416821629, 0.04802187281199366, 1.0653891722940827, + -2.3977027575912615, -1.3261746248294415, -1.3153583208192998, + -1.1028532187407407, 1.8888955433741899, -1.4786912441727864, + 1.8273826281967303, -2.851855166821629, -1.6838571072098958, + -0.743461799684809, -2.51020827298138, 1.9872438431418402, + 1.8580675760061922, -0.7797077497373408, 1.7245051702074363, + 2.0227612337161602, 1.1678468704855902, 2.4311166127101274 ], 'descriptor': {shape: [2, 2, 2, 3], dataType: 'float32'} } @@ -253,14 +253,14 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.56369018554688, -45.09983825683594, -94.67750549316406, - 83.49029541015625, -31.367904663085938, 70.18042755126953, - -90.36229705810547, -83.00758361816406, 61.51649475097656, - -32.51877975463867, -48.3765869140625, -58.02735900878906, - 89.79197692871094, -84.53326416015625, -58.23252487182617, - -76.14168548583984, -59.058876037597656, 77.38546752929688, - -98.67289733886719, -63.6115608215332, 26.85724639892578, - 83.70417022705078, 76.56607055664062, -47.83436584472656 + -2.4009041149673322, -1.1175411065788339, -0.429725885470269, + 1.808886416821629, 0.04802187281199366, 1.0653891722940827, + -2.3977027575912615, -1.3261746248294415, -1.3153583208192998, + -1.1028532187407407, 1.8888955433741899, -1.4786912441727864, + 1.8273826281967303, -2.851855166821629, -1.6838571072098958, + -0.743461799684809, -2.51020827298138, 1.9872438431418402, + 1.8580675760061922, -0.7797077497373408, 1.7245051702074363, + 2.0227612337161602, 1.1678468704855902, 2.4311166127101274 ], 'descriptor': {shape: [2, 1, 4, 1, 3], dataType: 'float32'} } @@ -315,10 +315,9 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.5625, -45.09375, -94.6875, 83.5, -31.375, 70.1875, - -90.375, -83, 61.53125, -32.53125, -48.375, -58.03125, - 89.8125, -84.5625, -58.21875, -76.125, -59.0625, 77.375, - -98.6875, -63.625, 26.859375, 83.6875, 76.5625, -47.84375 + -2.402, -1.111, -0.4397, 1.818, 0.04092, 1.072, -2.41, -1.318, + -1.301, -1.115, 1.891, -1.482, 1.848, -2.88, -1.67, -0.7266, + -2.514, 1.977, 1.844, -0.793, 1.727, 2.006, 1.164, 2.422 ], 'descriptor': {shape: [24], dataType: 'float16'}, 'constant': true @@ -352,10 +351,9 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.5625, -45.09375, -94.6875, 83.5, -31.375, 70.1875, - -90.375, -83, 61.53125, -32.53125, -48.375, -58.03125, - 89.8125, -84.5625, -58.21875, -76.125, -59.0625, 77.375, - -98.6875, -63.625, 26.859375, 83.6875, 76.5625, -47.84375 + -2.402, -1.111, -0.4397, 1.818, 0.04092, 1.072, -2.41, -1.318, + -1.301, -1.115, 1.891, -1.482, 1.848, -2.88, -1.67, -0.7266, + -2.514, 1.977, 1.844, -0.793, 1.727, 2.006, 1.164, 2.422 ], 'descriptor': {shape: [24], dataType: 'float16'} } @@ -388,10 +386,9 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.5625, -45.09375, -94.6875, 83.5, -31.375, 70.1875, - -90.375, -83, 61.53125, -32.53125, -48.375, -58.03125, - 89.8125, -84.5625, -58.21875, -76.125, -59.0625, 77.375, - -98.6875, -63.625, 26.859375, 83.6875, 76.5625, -47.84375 + -2.402, -1.111, -0.4397, 1.818, 0.04092, 1.072, -2.41, -1.318, + -1.301, -1.115, 1.891, -1.482, 1.848, -2.88, -1.67, -0.7266, + -2.514, 1.977, 1.844, -0.793, 1.727, 2.006, 1.164, 2.422 ], 'descriptor': {shape: [4, 6], dataType: 'float16'} } @@ -424,10 +421,9 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.5625, -45.09375, -94.6875, 83.5, -31.375, 70.1875, - -90.375, -83, 61.53125, -32.53125, -48.375, -58.03125, - 89.8125, -84.5625, -58.21875, -76.125, -59.0625, 77.375, - -98.6875, -63.625, 26.859375, 83.6875, 76.5625, -47.84375 + -2.402, -1.111, -0.4397, 1.818, 0.04092, 1.072, -2.41, -1.318, + -1.301, -1.115, 1.891, -1.482, 1.848, -2.88, -1.67, -0.7266, + -2.514, 1.977, 1.844, -0.793, 1.727, 2.006, 1.164, 2.422 ], 'descriptor': {shape: [2, 3, 4], dataType: 'float16'} } @@ -460,10 +456,9 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.5625, -45.09375, -94.6875, 83.5, -31.375, 70.1875, - -90.375, -83, 61.53125, -32.53125, -48.375, -58.03125, - 89.8125, -84.5625, -58.21875, -76.125, -59.0625, 77.375, - -98.6875, -63.625, 26.859375, 83.6875, 76.5625, -47.84375 + -2.402, -1.111, -0.4397, 1.818, 0.04092, 1.072, -2.41, -1.318, + -1.301, -1.115, 1.891, -1.482, 1.848, -2.88, -1.67, -0.7266, + -2.514, 1.977, 1.844, -0.793, 1.727, 2.006, 1.164, 2.422 ], 'descriptor': {shape: [2, 2, 2, 3], dataType: 'float16'} } @@ -496,10 +491,9 @@ const cosTests = [ 'inputs': { 'cosInput': { 'data': [ - 85.5625, -45.09375, -94.6875, 83.5, -31.375, 70.1875, - -90.375, -83, 61.53125, -32.53125, -48.375, -58.03125, - 89.8125, -84.5625, -58.21875, -76.125, -59.0625, 77.375, - -98.6875, -63.625, 26.859375, 83.6875, 76.5625, -47.84375 + -2.402, -1.111, -0.4397, 1.818, 0.04092, 1.072, -2.41, -1.318, + -1.301, -1.115, 1.891, -1.482, 1.848, -2.88, -1.67, -0.7266, + -2.514, 1.977, 1.844, -0.793, 1.727, 2.006, 1.164, 2.422 ], 'descriptor': {shape: [2, 1, 4, 1, 3], dataType: 'float16'} } diff --git a/testing/web-platform/tests/webnn/conformance_tests/sin.https.any.js b/testing/web-platform/tests/webnn/conformance_tests/sin.https.any.js @@ -29,7 +29,7 @@ const sinTests = [ 'graph': { 'inputs': { 'sinInput': { - 'data': [79.78058624267578], + 'data': [-1.9008227506588398], 'descriptor': {shape: [], dataType: 'float32'} } }, @@ -52,14 +52,14 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.78058624267578, 55.005733489990234, -28.052532196044922, - -31.64430046081543, 56.283756256103516, -96.18511962890625, - -72.99826049804688, -3.424182653427124, 84.02549743652344, - 5.03037166595459, -9.512612342834473, 9.540593147277832, - -25.26725196838379, -20.831640243530273, -32.02475357055664, - -55.69102478027344, 15.927481651306152, -57.8835334777832, - 31.016063690185547, -94.88304901123047, -84.58417510986328, - 44.8487434387207, -19.000272750854492, -48.03827667236328 + -1.9008227506588398, -1.5429342746260417, -2.919790967326577, + -0.22837392491749853, -0.26491150851276046, -1.9373400212124565, + 2.39996318810816, 2.859002653752462, 2.3440884431888165, + -1.2528136412249964, 3.0537582715247, -3.0257774670813404, + -0.13451073966544413, -1.9820843219915147, -0.6088270346587095, + 0.8576429843428386, -2.9220742702326064, -1.334865713166927, + -0.3998628457123843, -0.6352694035366753, -2.9027661165286602, + 0.8664462884635995, -0.1507168293157335, 2.2272057850734086 ], 'descriptor': {shape: [24], dataType: 'float32'}, 'constant': true @@ -93,14 +93,14 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.78058624267578, 55.005733489990234, -28.052532196044922, - -31.64430046081543, 56.283756256103516, -96.18511962890625, - -72.99826049804688, -3.424182653427124, 84.02549743652344, - 5.03037166595459, -9.512612342834473, 9.540593147277832, - -25.26725196838379, -20.831640243530273, -32.02475357055664, - -55.69102478027344, 15.927481651306152, -57.8835334777832, - 31.016063690185547, -94.88304901123047, -84.58417510986328, - 44.8487434387207, -19.000272750854492, -48.03827667236328 + -1.9008227506588398, -1.5429342746260417, -2.919790967326577, + -0.22837392491749853, -0.26491150851276046, -1.9373400212124565, + 2.39996318810816, 2.859002653752462, 2.3440884431888165, + -1.2528136412249964, 3.0537582715247, -3.0257774670813404, + -0.13451073966544413, -1.9820843219915147, -0.6088270346587095, + 0.8576429843428386, -2.9220742702326064, -1.334865713166927, + -0.3998628457123843, -0.6352694035366753, -2.9027661165286602, + 0.8664462884635995, -0.1507168293157335, 2.2272057850734086 ], 'descriptor': {shape: [24], dataType: 'float32'} } @@ -133,14 +133,14 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.78058624267578, 55.005733489990234, -28.052532196044922, - -31.64430046081543, 56.283756256103516, -96.18511962890625, - -72.99826049804688, -3.424182653427124, 84.02549743652344, - 5.03037166595459, -9.512612342834473, 9.540593147277832, - -25.26725196838379, -20.831640243530273, -32.02475357055664, - -55.69102478027344, 15.927481651306152, -57.8835334777832, - 31.016063690185547, -94.88304901123047, -84.58417510986328, - 44.8487434387207, -19.000272750854492, -48.03827667236328 + -1.9008227506588398, -1.5429342746260417, -2.919790967326577, + -0.22837392491749853, -0.26491150851276046, -1.9373400212124565, + 2.39996318810816, 2.859002653752462, 2.3440884431888165, + -1.2528136412249964, 3.0537582715247, -3.0257774670813404, + -0.13451073966544413, -1.9820843219915147, -0.6088270346587095, + 0.8576429843428386, -2.9220742702326064, -1.334865713166927, + -0.3998628457123843, -0.6352694035366753, -2.9027661165286602, + 0.8664462884635995, -0.1507168293157335, 2.2272057850734086 ], 'descriptor': {shape: [4, 6], dataType: 'float32'} } @@ -173,14 +173,14 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.78058624267578, 55.005733489990234, -28.052532196044922, - -31.64430046081543, 56.283756256103516, -96.18511962890625, - -72.99826049804688, -3.424182653427124, 84.02549743652344, - 5.03037166595459, -9.512612342834473, 9.540593147277832, - -25.26725196838379, -20.831640243530273, -32.02475357055664, - -55.69102478027344, 15.927481651306152, -57.8835334777832, - 31.016063690185547, -94.88304901123047, -84.58417510986328, - 44.8487434387207, -19.000272750854492, -48.03827667236328 + -1.9008227506588398, -1.5429342746260417, -2.919790967326577, + -0.22837392491749853, -0.26491150851276046, -1.9373400212124565, + 2.39996318810816, 2.859002653752462, 2.3440884431888165, + -1.2528136412249964, 3.0537582715247, -3.0257774670813404, + -0.13451073966544413, -1.9820843219915147, -0.6088270346587095, + 0.8576429843428386, -2.9220742702326064, -1.334865713166927, + -0.3998628457123843, -0.6352694035366753, -2.9027661165286602, + 0.8664462884635995, -0.1507168293157335, 2.2272057850734086 ], 'descriptor': {shape: [2, 3, 4], dataType: 'float32'} } @@ -213,14 +213,14 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.78058624267578, 55.005733489990234, -28.052532196044922, - -31.64430046081543, 56.283756256103516, -96.18511962890625, - -72.99826049804688, -3.424182653427124, 84.02549743652344, - 5.03037166595459, -9.512612342834473, 9.540593147277832, - -25.26725196838379, -20.831640243530273, -32.02475357055664, - -55.69102478027344, 15.927481651306152, -57.8835334777832, - 31.016063690185547, -94.88304901123047, -84.58417510986328, - 44.8487434387207, -19.000272750854492, -48.03827667236328 + -1.9008227506588398, -1.5429342746260417, -2.919790967326577, + -0.22837392491749853, -0.26491150851276046, -1.9373400212124565, + 2.39996318810816, 2.859002653752462, 2.3440884431888165, + -1.2528136412249964, 3.0537582715247, -3.0257774670813404, + -0.13451073966544413, -1.9820843219915147, -0.6088270346587095, + 0.8576429843428386, -2.9220742702326064, -1.334865713166927, + -0.3998628457123843, -0.6352694035366753, -2.9027661165286602, + 0.8664462884635995, -0.1507168293157335, 2.2272057850734086 ], 'descriptor': {shape: [2, 2, 2, 3], dataType: 'float32'} } @@ -253,14 +253,14 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.78058624267578, 55.005733489990234, -28.052532196044922, - -31.64430046081543, 56.283756256103516, -96.18511962890625, - -72.99826049804688, -3.424182653427124, 84.02549743652344, - 5.03037166595459, -9.512612342834473, 9.540593147277832, - -25.26725196838379, -20.831640243530273, -32.02475357055664, - -55.69102478027344, 15.927481651306152, -57.8835334777832, - 31.016063690185547, -94.88304901123047, -84.58417510986328, - 44.8487434387207, -19.000272750854492, -48.03827667236328 + -1.9008227506588398, -1.5429342746260417, -2.919790967326577, + -0.22837392491749853, -0.26491150851276046, -1.9373400212124565, + 2.39996318810816, 2.859002653752462, 2.3440884431888165, + -1.2528136412249964, 3.0537582715247, -3.0257774670813404, + -0.13451073966544413, -1.9820843219915147, -0.6088270346587095, + 0.8576429843428386, -2.9220742702326064, -1.334865713166927, + -0.3998628457123843, -0.6352694035366753, -2.9027661165286602, + 0.8664462884635995, -0.1507168293157335, 2.2272057850734086 ], 'descriptor': {shape: [2, 1, 4, 1, 3], dataType: 'float32'} } @@ -315,11 +315,9 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.75, 55, -28.046875, -31.640625, 56.28125, - -96.1875, -73, -3.423828125, 84, 5.03125, - -9.515625, 9.5390625, -25.265625, -20.828125, -32.03125, - -55.6875, 15.9296875, -57.875, 31.015625, -94.875, - -84.5625, 44.84375, -19, -48.03125 + -1.932, -1.549, -2.914, -0.2247, -0.2673, -1.939, 2.398, 2.86, + 2.318, -1.252, 3.05, -3.027, -0.1329, -1.979, -0.615, 0.8613, + -2.92, -1.326, -0.4004, -0.6274, -2.88, 0.8613, -0.1504, 2.234 ], 'descriptor': {shape: [24], dataType: 'float16'}, 'constant': true @@ -353,11 +351,9 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.75, 55, -28.046875, -31.640625, 56.28125, - -96.1875, -73, -3.423828125, 84, 5.03125, - -9.515625, 9.5390625, -25.265625, -20.828125, -32.03125, - -55.6875, 15.9296875, -57.875, 31.015625, -94.875, - -84.5625, 44.84375, -19, -48.03125 + -1.932, -1.549, -2.914, -0.2247, -0.2673, -1.939, 2.398, 2.86, + 2.318, -1.252, 3.05, -3.027, -0.1329, -1.979, -0.615, 0.8613, + -2.92, -1.326, -0.4004, -0.6274, -2.88, 0.8613, -0.1504, 2.234 ], 'descriptor': {shape: [24], dataType: 'float16'} } @@ -390,11 +386,9 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.75, 55, -28.046875, -31.640625, 56.28125, - -96.1875, -73, -3.423828125, 84, 5.03125, - -9.515625, 9.5390625, -25.265625, -20.828125, -32.03125, - -55.6875, 15.9296875, -57.875, 31.015625, -94.875, - -84.5625, 44.84375, -19, -48.03125 + -1.932, -1.549, -2.914, -0.2247, -0.2673, -1.939, 2.398, 2.86, + 2.318, -1.252, 3.05, -3.027, -0.1329, -1.979, -0.615, 0.8613, + -2.92, -1.326, -0.4004, -0.6274, -2.88, 0.8613, -0.1504, 2.234 ], 'descriptor': {shape: [4, 6], dataType: 'float16'} } @@ -427,11 +421,9 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.75, 55, -28.046875, -31.640625, 56.28125, - -96.1875, -73, -3.423828125, 84, 5.03125, - -9.515625, 9.5390625, -25.265625, -20.828125, -32.03125, - -55.6875, 15.9296875, -57.875, 31.015625, -94.875, - -84.5625, 44.84375, -19, -48.03125 + -1.932, -1.549, -2.914, -0.2247, -0.2673, -1.939, 2.398, 2.86, + 2.318, -1.252, 3.05, -3.027, -0.1329, -1.979, -0.615, 0.8613, + -2.92, -1.326, -0.4004, -0.6274, -2.88, 0.8613, -0.1504, 2.234 ], 'descriptor': {shape: [2, 3, 4], dataType: 'float16'} } @@ -464,11 +456,9 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.75, 55, -28.046875, -31.640625, 56.28125, - -96.1875, -73, -3.423828125, 84, 5.03125, - -9.515625, 9.5390625, -25.265625, -20.828125, -32.03125, - -55.6875, 15.9296875, -57.875, 31.015625, -94.875, - -84.5625, 44.84375, -19, -48.03125 + -1.932, -1.549, -2.914, -0.2247, -0.2673, -1.939, 2.398, 2.86, + 2.318, -1.252, 3.05, -3.027, -0.1329, -1.979, -0.615, 0.8613, + -2.92, -1.326, -0.4004, -0.6274, -2.88, 0.8613, -0.1504, 2.234 ], 'descriptor': {shape: [2, 2, 2, 3], dataType: 'float16'} } @@ -501,11 +491,9 @@ const sinTests = [ 'inputs': { 'sinInput': { 'data': [ - 79.75, 55, -28.046875, -31.640625, 56.28125, - -96.1875, -73, -3.423828125, 84, 5.03125, - -9.515625, 9.5390625, -25.265625, -20.828125, -32.03125, - -55.6875, 15.9296875, -57.875, 31.015625, -94.875, - -84.5625, 44.84375, -19, -48.03125 + -1.932, -1.549, -2.914, -0.2247, -0.2673, -1.939, 2.398, 2.86, + 2.318, -1.252, 3.05, -3.027, -0.1329, -1.979, -0.615, 0.8613, + -2.92, -1.326, -0.4004, -0.6274, -2.88, 0.8613, -0.1504, 2.234 ], 'descriptor': {shape: [2, 1, 4, 1, 3], dataType: 'float16'} }