| { |
| "tests": [ |
| { |
| "name": "matmul float32 1D and 1D tensors produces a scalar", |
| "inputs": { |
| "a": { |
| "shape": [4], |
| "data": [ |
| 87.03187851067565, |
| 46.881337859824384, |
| 95.82432897408134, |
| -52.54386718300541 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4], |
| "data": [ |
| -26.21038924740793, |
| 84.99316107761908, |
| 23.556117398915518, |
| -36.493155020610416 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "data": 5878.1943359375, |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 1D and 2D tensors", |
| "inputs": { |
| "a": { |
| "shape": [4], |
| "data": [ |
| 87.03187851067565, |
| 46.881337859824384, |
| 95.82432897408134, |
| -52.54386718300541 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4, 5], |
| "data": [ |
| -27.057616426197043, |
| -8.230676540860543, |
| -94.45044554838091, |
| 37.7386035523445, |
| 91.59427307661593, |
| 37.67096896611463, |
| 39.19007695966195, |
| -5.7469015282268145, |
| 60.80050537072776, |
| 85.74331632981222, |
| -16.164128914527836, |
| -16.941906803113767, |
| -14.541234403419878, |
| 85.87155145113644, |
| -5.575109242581533, |
| -21.09184412126517, |
| 20.888269634860862, |
| -34.29842780847672, |
| -64.89107885075947, |
| -86.25000925356088 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [1, 5], |
| "data": [ |
| -1029.4796142578125, |
| -1600.045166015625, |
| -8080.85400390625, |
| 17773.08203125, |
| 15989.060546875 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 1D and 4D tensors", |
| "inputs": { |
| "a": { |
| "shape": [4], |
| "data": [ |
| 87.03187851067565, |
| 46.881337859824384, |
| 95.82432897408134, |
| -52.54386718300541 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [2, 2, 4, 2], |
| "data": [ |
| 87.01571665914173, |
| -86.33499337193098, |
| 97.28276753778786, |
| -94.84310342173679, |
| -48.72689882867056, |
| -20.114251834386593, |
| 62.63220233763488, |
| -47.690344916487604, |
| -83.0711477010646, |
| -59.67053428723901, |
| -92.00803823230994, |
| -44.09381168273296, |
| 76.0571640857381, |
| -24.829392984049335, |
| 47.47448541811252, |
| 48.12596751510708, |
| -95.73054274856334, |
| 24.911311925192962, |
| -94.1377493475442, |
| 55.288037532054034, |
| 34.24235382729216, |
| 60.54612700235046, |
| -39.49250766586001, |
| -27.449229655771433, |
| 39.05426564859113, |
| 71.23308685185657, |
| 41.59154593231702, |
| -25.26216043800025, |
| 4.529367327251549, |
| -7.7623206692195765, |
| -61.27877810065749, |
| 88.54331288808689 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 2, 1, 2], |
| "data": [ |
| 4173.7265625, |
| -11381.8671875, |
| -6749.6640625, |
| -12168.400390625, |
| -7388.57275390625, |
| 12004.1357421875, |
| 9002.6806640625, |
| -381.00213623046875 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 2D and 1D tensors", |
| "inputs": { |
| "a": { |
| "shape": [5, 4], |
| "data": [ |
| -27.057616426197043, |
| 37.67096896611463, |
| -16.164128914527836, |
| -21.09184412126517, |
| -8.230676540860543, |
| 39.19007695966195, |
| -16.941906803113767, |
| 20.888269634860862, |
| -94.45044554838091, |
| -5.7469015282268145, |
| -14.541234403419878, |
| -34.29842780847672, |
| 37.7386035523445, |
| 60.80050537072776, |
| 85.87155145113644, |
| -64.89107885075947, |
| 91.59427307661593, |
| 85.74331632981222, |
| -5.575109242581533, |
| -86.25000925356088 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4], |
| "data": [ |
| 87.03187851067565, |
| 46.881337859824384, |
| 95.82432897408134, |
| -52.54386718300541 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [5, 1], |
| "data": [ |
| -1029.4796142578125, |
| -1600.045166015625, |
| -8080.85400390625, |
| 17773.08203125, |
| 15989.060546875 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 2D and 2D tensors", |
| "inputs": { |
| "a": { |
| "shape": [3, 4], |
| "data": [ |
| 53.587843102649884, |
| -28.04220227801993, |
| 15.124560502868789, |
| 9.369427405702211, |
| 29.073232186993266, |
| -22.80492074505088, |
| -1.4674728828148318, |
| 52.18999070274339, |
| -49.35624636707217, |
| 78.39141844611044, |
| -27.16858445326875, |
| -37.701154610703554 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4, 5], |
| "data": [ |
| -27.057616426197043, |
| -8.230676540860543, |
| -94.45044554838091, |
| 37.7386035523445, |
| 91.59427307661593, |
| 37.67096896611463, |
| 39.19007695966195, |
| -5.7469015282268145, |
| 60.80050537072776, |
| 85.74331632981222, |
| -16.164128914527836, |
| -16.941906803113767, |
| -14.541234403419878, |
| 85.87155145113644, |
| -5.575109242581533, |
| -21.09184412126517, |
| 20.888269634860862, |
| -34.29842780847672, |
| -64.89107885075947, |
| -86.25000925356088 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [3, 5], |
| "data": [ |
| -2948.43017578125, |
| -1600.568115234375, |
| -5441.5263671875, |
| 1008.1275024414062, |
| 1611.4742431640625, |
| -2722.798583984375, |
| -17.998613357543945, |
| -4383.6181640625, |
| -3802.04638671875, |
| -3785.633544921875, |
| 5522.88623046875, |
| 3151.177001953125, |
| 5899.36669921875, |
| 3017.06201171875, |
| 5603.98291015625 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 3D and 3D tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 3, 4], |
| "data": [ |
| 58.728908586525506, |
| 20.984989443196596, |
| -36.853694809557155, |
| -79.26948512648524, |
| -31.068943219633155, |
| -16.201444534612236, |
| -50.60932522172865, |
| 2.158781021722419, |
| -72.35992861880858, |
| 80.72179024484393, |
| 91.79413777766845, |
| -32.80066808871243, |
| -7.748154791717482, |
| 47.04567455956982, |
| -69.93563358196235, |
| -2.857472923841442, |
| 61.11868807043689, |
| 15.150240159985088, |
| 37.32774132825227, |
| -4.4238024429129865, |
| 94.76521432994485, |
| -69.80973130621896, |
| -34.96991276425953, |
| -6.554412653425558 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [2, 4, 5], |
| "data": [ |
| -37.54479939805191, |
| 62.03863390760466, |
| -59.58524466155506, |
| 87.46986567478658, |
| -50.24249814528532, |
| -58.06832556448569, |
| 23.301210236945906, |
| -72.89992470211942, |
| 9.570174232379543, |
| -81.2456676216478, |
| 48.35520180490283, |
| 41.81854877503463, |
| -50.21333174370568, |
| 4.21435975938671, |
| -96.19639534469364, |
| 67.85069325841712, |
| 21.29252639361772, |
| -16.455932756098562, |
| -50.2602146922619, |
| -66.71804190955655, |
| 38.190547173557434, |
| 18.932724208660005, |
| -79.76510066105024, |
| 50.23685112271045, |
| -55.41115098394904, |
| -23.46097001302381, |
| 60.487737276030884, |
| 42.73717646741534, |
| 62.90725873470754, |
| -33.23606967299759, |
| -36.86769406805803, |
| -91.52910565691018, |
| -80.54363103589677, |
| 4.079093694012187, |
| 95.70199024173527, |
| -44.45859861409356, |
| 52.830588721449885, |
| 68.41889201734026, |
| -11.707749491474402, |
| 75.9785719044454 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 3, 5], |
| "data": [ |
| -10584.0859375, |
| 903.4213256835938, |
| -1874.1802978515625, |
| 9166.6259765625, |
| 4178.27099609375, |
| -193.48135375976562, |
| -4375.4306640625, |
| 5538.07275390625, |
| -3194.43359375, |
| 7601.68359375, |
| 242.53622436523438, |
| 532.092529296875, |
| -5642.55224609375, |
| -3521.36962890625, |
| -9564.6201171875, |
| 1305.7613525390625, |
| 8949.1767578125, |
| 8065.99609375, |
| 2318.451904296875, |
| -8044.36474609375, |
| 799.2051391601562, |
| -1576.73974609375, |
| -7536.84326171875, |
| 4227.5263671875, |
| -653.9664916992188, |
| 6837.599609375, |
| 426.02252197265625, |
| -8174.26904296875, |
| 303.2590637207031, |
| -6775.53369140625 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 3D and 3D (broadcast) tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 3, 4], |
| "data": [ |
| 58.728908586525506, |
| 20.984989443196596, |
| -36.853694809557155, |
| -79.26948512648524, |
| -31.068943219633155, |
| -16.201444534612236, |
| -50.60932522172865, |
| 2.158781021722419, |
| -72.35992861880858, |
| 80.72179024484393, |
| 91.79413777766845, |
| -32.80066808871243, |
| -7.748154791717482, |
| 47.04567455956982, |
| -69.93563358196235, |
| -2.857472923841442, |
| 61.11868807043689, |
| 15.150240159985088, |
| 37.32774132825227, |
| -4.4238024429129865, |
| 94.76521432994485, |
| -69.80973130621896, |
| -34.96991276425953, |
| -6.554412653425558 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [1, 4, 1], |
| "data": [ |
| -26.21038924740793, |
| 84.99316107761908, |
| 23.556117398915518, |
| -36.493155020610416 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 3, 1], |
| "data": [ |
| 2268.936767578125, |
| -1833.6229248046875, |
| 12116.6953125, |
| 2658.509033203125, |
| 726.4573364257812, |
| -9001.7470703125 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 3D and 2D tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 3, 4], |
| "data": [ |
| 58.728908586525506, |
| 20.984989443196596, |
| -36.853694809557155, |
| -79.26948512648524, |
| -31.068943219633155, |
| -16.201444534612236, |
| -50.60932522172865, |
| 2.158781021722419, |
| -72.35992861880858, |
| 80.72179024484393, |
| 91.79413777766845, |
| -32.80066808871243, |
| -7.748154791717482, |
| 47.04567455956982, |
| -69.93563358196235, |
| -2.857472923841442, |
| 61.11868807043689, |
| 15.150240159985088, |
| 37.32774132825227, |
| -4.4238024429129865, |
| 94.76521432994485, |
| -69.80973130621896, |
| -34.96991276425953, |
| -6.554412653425558 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4, 1], |
| "data": [ |
| -26.21038924740793, |
| 84.99316107761908, |
| 23.556117398915518, |
| -36.493155020610416 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 3, 1], |
| "data": [ |
| 2268.936767578125, |
| -1833.6229248046875, |
| 12116.6953125, |
| 2658.509033203125, |
| 726.4573364257812, |
| -9001.7470703125 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 3D and 1D tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 3, 4], |
| "data": [ |
| 58.728908586525506, |
| 20.984989443196596, |
| -36.853694809557155, |
| -79.26948512648524, |
| -31.068943219633155, |
| -16.201444534612236, |
| -50.60932522172865, |
| 2.158781021722419, |
| -72.35992861880858, |
| 80.72179024484393, |
| 91.79413777766845, |
| -32.80066808871243, |
| -7.748154791717482, |
| 47.04567455956982, |
| -69.93563358196235, |
| -2.857472923841442, |
| 61.11868807043689, |
| 15.150240159985088, |
| 37.32774132825227, |
| -4.4238024429129865, |
| 94.76521432994485, |
| -69.80973130621896, |
| -34.96991276425953, |
| -6.554412653425558 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4], |
| "data": [ |
| -26.21038924740793, |
| 84.99316107761908, |
| 23.556117398915518, |
| -36.493155020610416 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 3, 1], |
| "data": [ |
| 2268.936767578125, |
| -1833.6229248046875, |
| 12116.6953125, |
| 2658.509033203125, |
| 726.4573364257812, |
| -9001.7470703125 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 4D and 4D (broadcast) tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 2, 3, 4], |
| "data": [ |
| -57.78256298118967, |
| -97.60594774508071, |
| 65.81871222255083, |
| 15.513092740816958, |
| 23.98655054563386, |
| -21.967424588709946, |
| 18.886694823929503, |
| -24.35213075030606, |
| -14.290771884477223, |
| 27.107064409596987, |
| -30.5553771654659, |
| 62.92884749021695, |
| 21.303536293227893, |
| -8.442491388430852, |
| 17.763053699220464, |
| -82.98418612293332, |
| -61.72257181975205, |
| -78.53204624132334, |
| 19.007175025924596, |
| -74.80765254527185, |
| -18.60249486224501, |
| -72.09066341524397, |
| 80.89076690500559, |
| 5.581122924805243, |
| -18.024148599640455, |
| 50.81262521893612, |
| -38.77959477414357, |
| 8.017349716674758, |
| 78.64766425508046, |
| -9.9506827380321, |
| 12.373807304160238, |
| 27.171930514383064, |
| -59.760329260919235, |
| 83.40591150488996, |
| 15.431053425642105, |
| 50.84504411456078, |
| -70.6015952433627, |
| -81.89265843512862, |
| 91.66120960135197, |
| -41.97235924914904, |
| 80.61416970815279, |
| -56.76420682646275, |
| -11.13108082468139, |
| 7.567520367062343, |
| -54.871302687181924, |
| 32.13136431765244, |
| -14.166689175692596, |
| -91.38920754453154 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [1, 1, 4, 5], |
| "data": [ |
| -27.057616426197043, |
| -8.230676540860543, |
| -94.45044554838091, |
| 37.7386035523445, |
| 91.59427307661593, |
| 37.67096896611463, |
| 39.19007695966195, |
| -5.7469015282268145, |
| 60.80050537072776, |
| 85.74331632981222, |
| -16.164128914527836, |
| -16.941906803113767, |
| -14.541234403419878, |
| 85.87155145113644, |
| -5.575109242581533, |
| -21.09184412126517, |
| 20.888269634860862, |
| -34.29842780847672, |
| -64.89107885075947, |
| -86.25000925356088 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 2, 3, 5], |
| "data": [ |
| -3504.553955078125, |
| -4140.64794921875, |
| 4529.36083984375, |
| -3469.830810546875, |
| -15366.560546875, |
| -1268.2086181640625, |
| -1886.9810791015625, |
| -1578.69189453125, |
| 2771.654052734375, |
| 2308.547119140625, |
| 574.439208984375, |
| 3012.091796875, |
| -520.0595092773438, |
| -5598.548828125, |
| -4241.96728515625, |
| 568.7055053710938, |
| -2540.54052734375, |
| 624.3200073242188, |
| 7200.931640625, |
| 8285.75, |
| -17.715293884277344, |
| -4454.27880859375, |
| 8570.4375, |
| -617.5867919921875, |
| -6040.83837890625, |
| -3637.630615234375, |
| -3925.991455078125, |
| 803.6365356445312, |
| 1498.8699951171875, |
| -8817.521484375, |
| 2859.5888671875, |
| 2964.170654296875, |
| 1699.29443359375, |
| -1441.0911865234375, |
| 2230.63818359375, |
| -3275.98828125, |
| -679.3528442382812, |
| -8483.0068359375, |
| 1662.388671875, |
| 3937.906982421875, |
| 3437.1083984375, |
| 4561.18603515625, |
| 3196.772705078125, |
| 841.5494995117188, |
| -2793.61962890625, |
| -1771.0140380859375, |
| -5057.92626953125, |
| 7245.69970703125, |
| 2951.200927734375, |
| -10379.35546875, |
| -4299.2783203125, |
| -2541.44873046875, |
| -7385.52001953125, |
| -1855.9342041015625, |
| 1926.0032958984375, |
| 4851.66552734375, |
| 41.90695571899414, |
| 8338.470703125, |
| 4596.6650390625, |
| 5690.45263671875 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 4D and 3D tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 2, 3, 4], |
| "data": [ |
| -57.78256298118967, |
| -97.60594774508071, |
| 65.81871222255083, |
| 15.513092740816958, |
| 23.98655054563386, |
| -21.967424588709946, |
| 18.886694823929503, |
| -24.35213075030606, |
| -14.290771884477223, |
| 27.107064409596987, |
| -30.5553771654659, |
| 62.92884749021695, |
| 21.303536293227893, |
| -8.442491388430852, |
| 17.763053699220464, |
| -82.98418612293332, |
| -61.72257181975205, |
| -78.53204624132334, |
| 19.007175025924596, |
| -74.80765254527185, |
| -18.60249486224501, |
| -72.09066341524397, |
| 80.89076690500559, |
| 5.581122924805243, |
| -18.024148599640455, |
| 50.81262521893612, |
| -38.77959477414357, |
| 8.017349716674758, |
| 78.64766425508046, |
| -9.9506827380321, |
| 12.373807304160238, |
| 27.171930514383064, |
| -59.760329260919235, |
| 83.40591150488996, |
| 15.431053425642105, |
| 50.84504411456078, |
| -70.6015952433627, |
| -81.89265843512862, |
| 91.66120960135197, |
| -41.97235924914904, |
| 80.61416970815279, |
| -56.76420682646275, |
| -11.13108082468139, |
| 7.567520367062343, |
| -54.871302687181924, |
| 32.13136431765244, |
| -14.166689175692596, |
| -91.38920754453154 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [2, 4, 5], |
| "data": [ |
| -37.54479939805191, |
| 62.03863390760466, |
| -59.58524466155506, |
| 87.46986567478658, |
| -50.24249814528532, |
| -58.06832556448569, |
| 23.301210236945906, |
| -72.89992470211942, |
| 9.570174232379543, |
| -81.2456676216478, |
| 48.35520180490283, |
| 41.81854877503463, |
| -50.21333174370568, |
| 4.21435975938671, |
| -96.19639534469364, |
| 67.85069325841712, |
| 21.29252639361772, |
| -16.455932756098562, |
| -50.2602146922619, |
| -66.71804190955655, |
| 38.190547173557434, |
| 18.932724208660005, |
| -79.76510066105024, |
| 50.23685112271045, |
| -55.41115098394904, |
| -23.46097001302381, |
| 60.487737276030884, |
| 42.73717646741534, |
| 62.90725873470754, |
| -33.23606967299759, |
| -36.86769406805803, |
| -91.52910565691018, |
| -80.54363103589677, |
| 4.079093694012187, |
| 95.70199024173527, |
| -44.45859861409356, |
| 52.830588721449885, |
| 68.41889201734026, |
| -11.707749491474402, |
| 75.9785719044454 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 2, 3, 5], |
| "data": [ |
| 12072.5, |
| -2776.33203125, |
| 6998.1953125, |
| -6490.646484375, |
| 3466.6748046875, |
| -363.9977722167969, |
| 1247.5211181640625, |
| -375.4477233886719, |
| 3191.406982421875, |
| 387.5083923339844, |
| 1754.73681640625, |
| -192.81997680664062, |
| -625.8494262695312, |
| -4282.18115234375, |
| -2743.499755859375, |
| 4046.140380859375, |
| -6117.27294921875, |
| -9168.4736328125, |
| 1583.1436767578125, |
| -5504.91796875, |
| 2110.311767578125, |
| -11610.64453125, |
| -5082.09423828125, |
| -7087.62158203125, |
| 2165.461181640625, |
| -2249.5078125, |
| -11821.802734375, |
| -7730.50341796875, |
| -5204.93798828125, |
| 11592.2490234375, |
| -3605.103515625, |
| -1385.1947021484375, |
| -814.943603515625, |
| -1656.6690673828125, |
| -27.17203140258789, |
| 66.98078918457031, |
| 5743.3447265625, |
| -5029.3056640625, |
| 5470.5517578125, |
| -6146.1787109375, |
| 1596.490966796875, |
| -36.0668830871582, |
| -4130.99853515625, |
| -6919.4697265625, |
| -8650.5546875, |
| -2288.33740234375, |
| -16897.275390625, |
| -8122.7470703125, |
| -7833.14794921875, |
| 12217.06640625, |
| 4484.37841796875, |
| -488.6781311035156, |
| -7441.83984375, |
| 344.9179992675781, |
| -3070.60205078125, |
| 1735.93115234375, |
| -2626.791015625, |
| 638.3070068359375, |
| 276.9090881347656, |
| -6326.83935546875 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 5D and 5D tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 2, 1, 3, 4], |
| "data": [ |
| -57.78256298118967, |
| -97.60594774508071, |
| 65.81871222255083, |
| 15.513092740816958, |
| 23.98655054563386, |
| -21.967424588709946, |
| 18.886694823929503, |
| -24.35213075030606, |
| -14.290771884477223, |
| 27.107064409596987, |
| -30.5553771654659, |
| 62.92884749021695, |
| 21.303536293227893, |
| -8.442491388430852, |
| 17.763053699220464, |
| -82.98418612293332, |
| -61.72257181975205, |
| -78.53204624132334, |
| 19.007175025924596, |
| -74.80765254527185, |
| -18.60249486224501, |
| -72.09066341524397, |
| 80.89076690500559, |
| 5.581122924805243, |
| -18.024148599640455, |
| 50.81262521893612, |
| -38.77959477414357, |
| 8.017349716674758, |
| 78.64766425508046, |
| -9.9506827380321, |
| 12.373807304160238, |
| 27.171930514383064, |
| -59.760329260919235, |
| 83.40591150488996, |
| 15.431053425642105, |
| 50.84504411456078, |
| -70.6015952433627, |
| -81.89265843512862, |
| 91.66120960135197, |
| -41.97235924914904, |
| 80.61416970815279, |
| -56.76420682646275, |
| -11.13108082468139, |
| 7.567520367062343, |
| -54.871302687181924, |
| 32.13136431765244, |
| -14.166689175692596, |
| -91.38920754453154 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [1, 1, 1, 4, 5], |
| "data": [ |
| -27.057616426197043, |
| -8.230676540860543, |
| -94.45044554838091, |
| 37.7386035523445, |
| 91.59427307661593, |
| 37.67096896611463, |
| 39.19007695966195, |
| -5.7469015282268145, |
| 60.80050537072776, |
| 85.74331632981222, |
| -16.164128914527836, |
| -16.941906803113767, |
| -14.541234403419878, |
| 85.87155145113644, |
| -5.575109242581533, |
| -21.09184412126517, |
| 20.888269634860862, |
| -34.29842780847672, |
| -64.89107885075947, |
| -86.25000925356088 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 2, 1, 3, 5], |
| "data": [ |
| -3504.553955078125, |
| -4140.64794921875, |
| 4529.36083984375, |
| -3469.830810546875, |
| -15366.560546875, |
| -1268.2086181640625, |
| -1886.9810791015625, |
| -1578.69189453125, |
| 2771.654052734375, |
| 2308.547119140625, |
| 574.439208984375, |
| 3012.091796875, |
| -520.0595092773438, |
| -5598.548828125, |
| -4241.96728515625, |
| 568.7055053710938, |
| -2540.54052734375, |
| 624.3200073242188, |
| 7200.931640625, |
| 8285.75, |
| -17.715293884277344, |
| -4454.27880859375, |
| 8570.4375, |
| -617.5867919921875, |
| -6040.83837890625, |
| -3637.630615234375, |
| -3925.991455078125, |
| 803.6365356445312, |
| 1498.8699951171875, |
| -8817.521484375, |
| 2859.5888671875, |
| 2964.170654296875, |
| 1699.29443359375, |
| -1441.0911865234375, |
| 2230.63818359375, |
| -3275.98828125, |
| -679.3528442382812, |
| -8483.0068359375, |
| 1662.388671875, |
| 3937.906982421875, |
| 3437.1083984375, |
| 4561.18603515625, |
| 3196.772705078125, |
| 841.5494995117188, |
| -2793.61962890625, |
| -1771.0140380859375, |
| -5057.92626953125, |
| 7245.69970703125, |
| 2951.200927734375, |
| -10379.35546875, |
| -4299.2783203125, |
| -2541.44873046875, |
| -7385.52001953125, |
| -1855.9342041015625, |
| 1926.0032958984375, |
| 4851.66552734375, |
| 41.90695571899414, |
| 8338.470703125, |
| 4596.6650390625, |
| 5690.45263671875 |
| ], |
| "type": "float32" |
| } |
| }, |
| { |
| "name": "matmul float32 5D and 2D tensors", |
| "inputs": { |
| "a": { |
| "shape": [2, 2, 1, 3, 4], |
| "data": [ |
| -57.78256298118967, |
| -97.60594774508071, |
| 65.81871222255083, |
| 15.513092740816958, |
| 23.98655054563386, |
| -21.967424588709946, |
| 18.886694823929503, |
| -24.35213075030606, |
| -14.290771884477223, |
| 27.107064409596987, |
| -30.5553771654659, |
| 62.92884749021695, |
| 21.303536293227893, |
| -8.442491388430852, |
| 17.763053699220464, |
| -82.98418612293332, |
| -61.72257181975205, |
| -78.53204624132334, |
| 19.007175025924596, |
| -74.80765254527185, |
| -18.60249486224501, |
| -72.09066341524397, |
| 80.89076690500559, |
| 5.581122924805243, |
| -18.024148599640455, |
| 50.81262521893612, |
| -38.77959477414357, |
| 8.017349716674758, |
| 78.64766425508046, |
| -9.9506827380321, |
| 12.373807304160238, |
| 27.171930514383064, |
| -59.760329260919235, |
| 83.40591150488996, |
| 15.431053425642105, |
| 50.84504411456078, |
| -70.6015952433627, |
| -81.89265843512862, |
| 91.66120960135197, |
| -41.97235924914904, |
| 80.61416970815279, |
| -56.76420682646275, |
| -11.13108082468139, |
| 7.567520367062343, |
| -54.871302687181924, |
| 32.13136431765244, |
| -14.166689175692596, |
| -91.38920754453154 |
| ], |
| "type": "float32" |
| }, |
| "b": { |
| "shape": [4, 5], |
| "data": [ |
| -27.057616426197043, |
| -8.230676540860543, |
| -94.45044554838091, |
| 37.7386035523445, |
| 91.59427307661593, |
| 37.67096896611463, |
| 39.19007695966195, |
| -5.7469015282268145, |
| 60.80050537072776, |
| 85.74331632981222, |
| -16.164128914527836, |
| -16.941906803113767, |
| -14.541234403419878, |
| 85.87155145113644, |
| -5.575109242581533, |
| -21.09184412126517, |
| 20.888269634860862, |
| -34.29842780847672, |
| -64.89107885075947, |
| -86.25000925356088 |
| ], |
| "type": "float32" |
| } |
| }, |
| "expected": { |
| "name": "output", |
| "shape": [2, 2, 1, 3, 5], |
| "data": [ |
| -3504.553955078125, |
| -4140.64794921875, |
| 4529.36083984375, |
| -3469.830810546875, |
| -15366.560546875, |
| -1268.2086181640625, |
| -1886.9810791015625, |
| -1578.69189453125, |
| 2771.654052734375, |
| 2308.547119140625, |
| 574.439208984375, |
| 3012.091796875, |
| -520.0595092773438, |
| -5598.548828125, |
| -4241.96728515625, |
| 568.7055053710938, |
| -2540.54052734375, |
| 624.3200073242188, |
| 7200.931640625, |
| 8285.75, |
| -17.715293884277344, |
| -4454.27880859375, |
| 8570.4375, |
| -617.5867919921875, |
| -6040.83837890625, |
| -3637.630615234375, |
| -3925.991455078125, |
| 803.6365356445312, |
| 1498.8699951171875, |
| -8817.521484375, |
| 2859.5888671875, |
| 2964.170654296875, |
| 1699.29443359375, |
| -1441.0911865234375, |
| 2230.63818359375, |
| -3275.98828125, |
| -679.3528442382812, |
| -8483.0068359375, |
| 1662.388671875, |
| 3937.906982421875, |
| 3437.1083984375, |
| 4561.18603515625, |
| 3196.772705078125, |
| 841.5494995117188, |
| -2793.61962890625, |
| -1771.0140380859375, |
| -5057.92626953125, |
| 7245.69970703125, |
| 2951.200927734375, |
| -10379.35546875, |
| -4299.2783203125, |
| -2541.44873046875, |
| -7385.52001953125, |
| -1855.9342041015625, |
| 1926.0032958984375, |
| 4851.66552734375, |
| 41.90695571899414, |
| 8338.470703125, |
| 4596.6650390625, |
| 5690.45263671875 |
| ], |
| "type": "float32" |
| } |
| } |
| ] |
| } |