concat.https.any.js (93361B)
1 // META: title=test WebNN API concat operation 2 // META: global=window 3 // META: variant=?cpu 4 // META: variant=?gpu 5 // META: variant=?npu 6 // META: script=../resources/utils.js 7 // META: timeout=long 8 9 'use strict'; 10 11 // https://www.w3.org/TR/webnn/#api-mlgraphbuilder-concat 12 // Concatenates the input tensors along a given axis. 13 // 14 // MLOperand concat( 15 // sequence<MLOperand> inputs, [EnforceRange] unsigned long axis); 16 17 const concatTests = [ 18 { 19 'name': 'concat two float32 1D constant tensors of same shape along axis 0', 20 'graph': { 21 'inputs': { 22 'concatInput1': { 23 'data': [ 24 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 25 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 26 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 27 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 28 ], 29 'descriptor': {shape: [12], dataType: 'float32'}, 30 'constant': true 31 }, 32 'concatInput2': { 33 'data': [ 34 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 35 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 36 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 37 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 38 ], 39 'descriptor': {shape: [12], dataType: 'float32'}, 40 'constant': true 41 } 42 }, 43 'operators': [{ 44 'name': 'concat', 45 'arguments': 46 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 47 'outputs': 'concatOutput' 48 }], 49 'expectedOutputs': { 50 'concatOutput': { 51 'data': [ 52 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 53 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 54 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 55 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 56 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 57 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 58 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 59 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 60 ], 61 'descriptor': {shape: [24], dataType: 'float32'} 62 } 63 } 64 } 65 }, 66 { 67 'name': 'concat two float32 1D tensors of same shape along axis 0', 68 'graph': { 69 'inputs': { 70 'concatInput1': { 71 'data': [ 72 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 73 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 74 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 75 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 76 ], 77 'descriptor': {shape: [12], dataType: 'float32'} 78 }, 79 'concatInput2': { 80 'data': [ 81 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 82 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 83 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 84 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 85 ], 86 'descriptor': {shape: [12], dataType: 'float32'} 87 } 88 }, 89 'operators': [{ 90 'name': 'concat', 91 'arguments': 92 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 93 'outputs': 'concatOutput' 94 }], 95 'expectedOutputs': { 96 'concatOutput': { 97 'data': [ 98 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 99 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 100 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 101 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 102 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 103 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 104 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 105 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 106 ], 107 'descriptor': {shape: [24], dataType: 'float32'} 108 } 109 } 110 } 111 }, 112 { 113 'name': 'concat two float16 1D tensors of same shape along axis 0', 114 'graph': { 115 'inputs': { 116 'concatInput1': { 117 'data': [ 118 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 119 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 120 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 121 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 122 ], 123 'descriptor': {shape: [12], dataType: 'float16'} 124 }, 125 'concatInput2': { 126 'data': [ 127 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 128 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 129 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 130 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 131 ], 132 'descriptor': {shape: [12], dataType: 'float16'} 133 } 134 }, 135 'operators': [{ 136 'name': 'concat', 137 'arguments': 138 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 139 'outputs': 'concatOutput' 140 }], 141 'expectedOutputs': { 142 'concatOutput': { 143 'data': [ 144 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 145 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 146 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 147 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 148 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 149 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 150 ], 151 'descriptor': {shape: [24], dataType: 'float16'} 152 } 153 } 154 } 155 }, 156 { 157 'name': 158 'concat three float32 1D tensors of different 1st dimension along axis 0', 159 'graph': { 160 'inputs': { 161 'concatInput1': { 162 'data': [ 163 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 164 -0.990639865398407 165 ], 166 'descriptor': {shape: [4], dataType: 'float32'} 167 }, 168 'concatInput2': { 169 'data': [ 170 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 171 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 172 -0.9531654119491577, -0.6731740236282349 173 ], 174 'descriptor': {shape: [8], dataType: 'float32'} 175 }, 176 'concatInput3': { 177 'data': [ 178 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 179 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 180 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 181 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 182 ], 183 'descriptor': {shape: [12], dataType: 'float32'} 184 } 185 }, 186 'operators': [{ 187 'name': 'concat', 188 'arguments': [ 189 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 190 {'axis': 0} 191 ], 192 'outputs': 'concatOutput' 193 }], 194 'expectedOutputs': { 195 'concatOutput': { 196 'data': [ 197 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 198 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 199 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 200 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 201 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 202 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 203 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 204 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 205 ], 206 'descriptor': {shape: [24], dataType: 'float32'} 207 } 208 } 209 } 210 }, 211 { 212 'name': 213 'concat three float16 1D tensors of different 1st dimension along axis 0', 214 'graph': { 215 'inputs': { 216 'concatInput1': { 217 'data': [ 218 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 219 -0.990639865398407 220 ], 221 'descriptor': {shape: [4], dataType: 'float16'} 222 }, 223 'concatInput2': { 224 'data': [ 225 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 226 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 227 -0.9531654119491577, -0.6731740236282349 228 ], 229 'descriptor': {shape: [8], dataType: 'float16'} 230 }, 231 'concatInput3': { 232 'data': [ 233 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 234 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 235 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 236 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 237 ], 238 'descriptor': {shape: [12], dataType: 'float16'} 239 } 240 }, 241 'operators': [{ 242 'name': 'concat', 243 'arguments': [ 244 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 245 {'axis': 0} 246 ], 247 'outputs': 'concatOutput' 248 }], 249 'expectedOutputs': { 250 'concatOutput': { 251 'data': [ 252 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 253 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 254 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 255 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 256 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 257 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 258 ], 259 'descriptor': {shape: [24], dataType: 'float16'} 260 } 261 } 262 } 263 }, 264 { 265 'name': 'concat four float32 1D tensors of same 1st dimension along axis 0', 266 'graph': { 267 'inputs': { 268 'concatInput1': { 269 'data': [ 270 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 271 -0.990639865398407, 0.576785683631897, 0.32276400923728943 272 ], 273 'descriptor': {shape: [6], dataType: 'float32'} 274 }, 275 'concatInput2': { 276 'data': [ 277 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 278 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 279 ], 280 'descriptor': {shape: [6], dataType: 'float32'} 281 }, 282 'concatInput3': { 283 'data': [ 284 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 285 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802 286 ], 287 'descriptor': {shape: [6], dataType: 'float32'} 288 }, 289 'concatInput4': { 290 'data': [ 291 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 292 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 293 ], 294 'descriptor': {shape: [6], dataType: 'float32'} 295 } 296 }, 297 'operators': [{ 298 'name': 'concat', 299 'arguments': [ 300 { 301 'inputs': 302 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 303 }, 304 {'axis': 0} 305 ], 306 'outputs': 'concatOutput' 307 }], 308 'expectedOutputs': { 309 'concatOutput': { 310 'data': [ 311 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 312 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 313 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 314 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 315 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 316 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 317 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 318 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 319 ], 320 'descriptor': {shape: [24], dataType: 'float32'} 321 } 322 } 323 } 324 }, 325 { 326 'name': 'concat four float16 1D tensors of same 1st dimension along axis 0', 327 'graph': { 328 'inputs': { 329 'concatInput1': { 330 'data': [ 331 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 332 -0.990639865398407, 0.576785683631897, 0.32276400923728943 333 ], 334 'descriptor': {shape: [6], dataType: 'float16'} 335 }, 336 'concatInput2': { 337 'data': [ 338 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 339 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 340 ], 341 'descriptor': {shape: [6], dataType: 'float16'} 342 }, 343 'concatInput3': { 344 'data': [ 345 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 346 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802 347 ], 348 'descriptor': {shape: [6], dataType: 'float16'} 349 }, 350 'concatInput4': { 351 'data': [ 352 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 353 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 354 ], 355 'descriptor': {shape: [6], dataType: 'float16'} 356 } 357 }, 358 'operators': [{ 359 'name': 'concat', 360 'arguments': [ 361 { 362 'inputs': 363 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 364 }, 365 {'axis': 0} 366 ], 367 'outputs': 'concatOutput' 368 }], 369 'expectedOutputs': { 370 'concatOutput': { 371 'data': [ 372 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 373 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 374 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 375 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 376 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 377 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 378 ], 379 'descriptor': {shape: [24], dataType: 'float16'} 380 } 381 } 382 } 383 }, 384 { 385 'name': 386 'concat four float32 1D tensors of different 1st dimension along axis 0', 387 'graph': { 388 'inputs': { 389 'concatInput1': { 390 'data': [-0.3944413363933563, 0.861982524394989], 391 'descriptor': {shape: [2], dataType: 'float32'} 392 }, 393 'concatInput2': { 394 'data': [ 395 0.337996244430542, -0.990639865398407, 0.576785683631897, 396 0.32276400923728943 397 ], 398 'descriptor': {shape: [4], dataType: 'float32'} 399 }, 400 'concatInput3': { 401 'data': [ 402 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 403 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 404 0.49189892411231995, -0.15864109992980957 405 ], 406 'descriptor': {shape: [8], dataType: 'float32'} 407 }, 408 'concatInput4': { 409 'data': [ 410 -0.3418811559677124, -0.9158143401145935, -0.7206121683120728, 411 -0.7993468642234802, 0.6653800010681152, 0.03886038810014725, 412 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 413 0.1211843192577362 414 ], 415 'descriptor': {shape: [10], dataType: 'float32'} 416 } 417 }, 418 'operators': [{ 419 'name': 'concat', 420 'arguments': [ 421 { 422 'inputs': 423 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 424 }, 425 {'axis': 0} 426 ], 427 'outputs': 'concatOutput' 428 }], 429 'expectedOutputs': { 430 'concatOutput': { 431 'data': [ 432 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 433 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 434 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 435 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 436 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 437 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 438 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 439 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 440 ], 441 'descriptor': {shape: [24], dataType: 'float32'} 442 } 443 } 444 } 445 }, 446 { 447 'name': 448 'concat four float16 1D tensors of different 1st dimension along axis 0', 449 'graph': { 450 'inputs': { 451 'concatInput1': { 452 'data': [-0.3944413363933563, 0.861982524394989], 453 'descriptor': {shape: [2], dataType: 'float16'} 454 }, 455 'concatInput2': { 456 'data': [ 457 0.337996244430542, -0.990639865398407, 0.576785683631897, 458 0.32276400923728943 459 ], 460 'descriptor': {shape: [4], dataType: 'float16'} 461 }, 462 'concatInput3': { 463 'data': [ 464 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 465 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 466 0.49189892411231995, -0.15864109992980957 467 ], 468 'descriptor': {shape: [8], dataType: 'float16'} 469 }, 470 'concatInput4': { 471 'data': [ 472 -0.3418811559677124, -0.9158143401145935, -0.7206121683120728, 473 -0.7993468642234802, 0.6653800010681152, 0.03886038810014725, 474 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 475 0.1211843192577362 476 ], 477 'descriptor': {shape: [10], dataType: 'float16'} 478 } 479 }, 480 'operators': [{ 481 'name': 'concat', 482 'arguments': [ 483 { 484 'inputs': 485 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 486 }, 487 {'axis': 0} 488 ], 489 'outputs': 'concatOutput' 490 }], 491 'expectedOutputs': { 492 'concatOutput': { 493 'data': [ 494 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 495 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 496 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 497 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 498 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 499 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 500 ], 501 'descriptor': {shape: [24], dataType: 'float16'} 502 } 503 } 504 } 505 }, 506 { 507 'name': 'concat two float32 2D tensors of same shape along axis 0', 508 'graph': { 509 'inputs': { 510 'concatInput1': { 511 'data': [ 512 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 513 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 514 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 515 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 516 ], 517 'descriptor': {shape: [2, 6], dataType: 'float32'} 518 }, 519 'concatInput2': { 520 'data': [ 521 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 522 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 523 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 524 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 525 ], 526 'descriptor': {shape: [2, 6], dataType: 'float32'} 527 } 528 }, 529 'operators': [{ 530 'name': 'concat', 531 'arguments': 532 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 533 'outputs': 'concatOutput' 534 }], 535 'expectedOutputs': { 536 'concatOutput': { 537 'data': [ 538 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 539 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 540 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 541 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 542 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 543 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 544 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 545 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 546 ], 547 'descriptor': {shape: [4, 6], dataType: 'float32'} 548 } 549 } 550 } 551 }, 552 { 553 'name': 'concat two float16 2D tensors of same shape along axis 0', 554 'graph': { 555 'inputs': { 556 'concatInput1': { 557 'data': [ 558 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 559 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 560 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 561 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 562 ], 563 'descriptor': {shape: [2, 6], dataType: 'float16'} 564 }, 565 'concatInput2': { 566 'data': [ 567 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 568 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 569 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 570 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 571 ], 572 'descriptor': {shape: [2, 6], dataType: 'float16'} 573 } 574 }, 575 'operators': [{ 576 'name': 'concat', 577 'arguments': 578 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 579 'outputs': 'concatOutput' 580 }], 581 'expectedOutputs': { 582 'concatOutput': { 583 'data': [ 584 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 585 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 586 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 587 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 588 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 589 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 590 ], 591 'descriptor': {shape: [4, 6], dataType: 'float16'} 592 } 593 } 594 } 595 }, 596 { 597 'name': 598 'concat two float32 2D tensors of same others dimensions except different 1st dimension along axis 0', 599 'graph': { 600 'inputs': { 601 'concatInput1': { 602 'data': [ 603 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 604 -0.990639865398407, 0.576785683631897, 0.32276400923728943 605 ], 606 'descriptor': {shape: [1, 6], dataType: 'float32'} 607 }, 608 'concatInput2': { 609 'data': [ 610 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 611 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 612 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 613 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 614 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 615 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 616 ], 617 'descriptor': {shape: [3, 6], dataType: 'float32'} 618 } 619 }, 620 'operators': [{ 621 'name': 'concat', 622 'arguments': 623 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 624 'outputs': 'concatOutput' 625 }], 626 'expectedOutputs': { 627 'concatOutput': { 628 'data': [ 629 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 630 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 631 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 632 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 633 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 634 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 635 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 636 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 637 ], 638 'descriptor': {shape: [4, 6], dataType: 'float32'} 639 } 640 } 641 } 642 }, 643 { 644 'name': 645 'concat two float16 2D tensors of same others dimensions except different 1st dimension along axis 0', 646 'graph': { 647 'inputs': { 648 'concatInput1': { 649 'data': [ 650 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 651 -0.990639865398407, 0.576785683631897, 0.32276400923728943 652 ], 653 'descriptor': {shape: [1, 6], dataType: 'float16'} 654 }, 655 'concatInput2': { 656 'data': [ 657 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 658 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 659 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 660 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 661 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 662 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 663 ], 664 'descriptor': {shape: [3, 6], dataType: 'float16'} 665 } 666 }, 667 'operators': [{ 668 'name': 'concat', 669 'arguments': 670 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 671 'outputs': 'concatOutput' 672 }], 673 'expectedOutputs': { 674 'concatOutput': { 675 'data': [ 676 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 677 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 678 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 679 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 680 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 681 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 682 ], 683 'descriptor': {shape: [4, 6], dataType: 'float16'} 684 } 685 } 686 } 687 }, 688 { 689 'name': 'concat four float32 2D tensors of same shape along axis 0', 690 'graph': { 691 'inputs': { 692 'concatInput1': { 693 'data': [ 694 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 695 -0.990639865398407, 0.576785683631897, 0.32276400923728943 696 ], 697 'descriptor': {shape: [3, 2], dataType: 'float32'} 698 }, 699 'concatInput2': { 700 'data': [ 701 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 702 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 703 ], 704 'descriptor': {shape: [3, 2], dataType: 'float32'} 705 }, 706 'concatInput3': { 707 'data': [ 708 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 709 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802 710 ], 711 'descriptor': {shape: [3, 2], dataType: 'float32'} 712 }, 713 'concatInput4': { 714 'data': [ 715 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 716 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 717 ], 718 'descriptor': {shape: [3, 2], dataType: 'float32'} 719 } 720 }, 721 'operators': [{ 722 'name': 'concat', 723 'arguments': [ 724 { 725 'inputs': 726 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 727 }, 728 {'axis': 0} 729 ], 730 'outputs': 'concatOutput' 731 }], 732 'expectedOutputs': { 733 'concatOutput': { 734 'data': [ 735 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 736 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 737 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 738 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 739 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 740 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 741 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 742 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 743 ], 744 'descriptor': {shape: [12, 2], dataType: 'float32'} 745 } 746 } 747 } 748 }, 749 { 750 'name': 'concat four float16 2D tensors of same shape along axis 0', 751 'graph': { 752 'inputs': { 753 'concatInput1': { 754 'data': [ 755 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 756 -0.990639865398407, 0.576785683631897, 0.32276400923728943 757 ], 758 'descriptor': {shape: [3, 2], dataType: 'float16'} 759 }, 760 'concatInput2': { 761 'data': [ 762 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 763 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 764 ], 765 'descriptor': {shape: [3, 2], dataType: 'float16'} 766 }, 767 'concatInput3': { 768 'data': [ 769 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 770 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802 771 ], 772 'descriptor': {shape: [3, 2], dataType: 'float16'} 773 }, 774 'concatInput4': { 775 'data': [ 776 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 777 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 778 ], 779 'descriptor': {shape: [3, 2], dataType: 'float16'} 780 } 781 }, 782 'operators': [{ 783 'name': 'concat', 784 'arguments': [ 785 { 786 'inputs': 787 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 788 }, 789 {'axis': 0} 790 ], 791 'outputs': 'concatOutput' 792 }], 793 'expectedOutputs': { 794 'concatOutput': { 795 'data': [ 796 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 797 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 798 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 799 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 800 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 801 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 802 ], 803 'descriptor': {shape: [12, 2], dataType: 'float16'} 804 } 805 } 806 } 807 }, 808 { 809 'name': 810 'concat two float32 2D tensors of same others dimensions except different 2nd dimension along axis 1', 811 'graph': { 812 'inputs': { 813 'concatInput1': { 814 'data': [ 815 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 816 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 817 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 818 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 819 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 820 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 821 0.6653800010681152, 0.03886038810014725 822 ], 823 'descriptor': {shape: [2, 10], dataType: 'float32'} 824 }, 825 'concatInput2': { 826 'data': [ 827 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 828 0.1211843192577362 829 ], 830 'descriptor': {shape: [2, 2], dataType: 'float32'} 831 } 832 }, 833 'operators': [{ 834 'name': 'concat', 835 'arguments': 836 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 1}], 837 'outputs': 'concatOutput' 838 }], 839 'expectedOutputs': { 840 'concatOutput': { 841 'data': [ 842 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 843 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 844 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 845 -0.402848482131958, 0.5182055234909058, -0.8742017149925232, 846 -0.9531654119491577, -0.6731740236282349, 0.49189892411231995, 847 -0.15864109992980957, -0.3418811559677124, -0.9158143401145935, 848 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 849 0.03886038810014725, -0.4790218770503998, 0.1211843192577362 850 ], 851 'descriptor': {shape: [2, 12], dataType: 'float32'} 852 } 853 } 854 } 855 }, 856 { 857 'name': 858 'concat two float16 2D tensors of same others dimensions except different 2nd dimension along axis 1', 859 'graph': { 860 'inputs': { 861 'concatInput1': { 862 'data': [ 863 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 864 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 865 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 866 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 867 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 868 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 869 0.6653800010681152, 0.03886038810014725 870 ], 871 'descriptor': {shape: [2, 10], dataType: 'float16'} 872 }, 873 'concatInput2': { 874 'data': [ 875 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 876 0.1211843192577362 877 ], 878 'descriptor': {shape: [2, 2], dataType: 'float16'} 879 } 880 }, 881 'operators': [{ 882 'name': 'concat', 883 'arguments': 884 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 1}], 885 'outputs': 'concatOutput' 886 }], 887 'expectedOutputs': { 888 'concatOutput': { 889 'data': [ 890 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 891 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 892 -0.5947265625, -0.40283203125, 0.51806640625, -0.8740234375, 893 -0.953125, -0.67333984375, 0.491943359375, -0.15869140625, 894 -0.341796875, -0.916015625, -0.720703125, -0.79931640625, 895 0.66552734375, 0.038848876953125, -0.47900390625, 0.12115478515625 896 ], 897 'descriptor': {shape: [2, 12], dataType: 'float16'} 898 } 899 } 900 } 901 }, 902 { 903 'name': 'concat three float32 2D tensors of same shape along axis 1', 904 'graph': { 905 'inputs': { 906 'concatInput1': { 907 'data': [ 908 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 909 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 910 -0.44735023379325867, 0.11028251051902771 911 ], 912 'descriptor': {shape: [4, 2], dataType: 'float32'} 913 }, 914 'concatInput2': { 915 'data': [ 916 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 917 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 918 -0.3418811559677124, -0.9158143401145935 919 ], 920 'descriptor': {shape: [4, 2], dataType: 'float32'} 921 }, 922 'concatInput3': { 923 'data': [ 924 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 925 0.03886038810014725, 0.5182055234909058, -0.8742017149925232, 926 -0.4790218770503998, 0.1211843192577362 927 ], 928 'descriptor': {shape: [4, 2], dataType: 'float32'} 929 } 930 }, 931 'operators': [{ 932 'name': 'concat', 933 'arguments': [ 934 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 935 {'axis': 1} 936 ], 937 'outputs': 'concatOutput' 938 }], 939 'expectedOutputs': { 940 'concatOutput': { 941 'data': [ 942 -0.3944413363933563, 0.861982524394989, -0.5945112705230713, 943 -0.402848482131958, -0.7206121683120728, -0.7993468642234802, 944 0.337996244430542, -0.990639865398407, -0.9531654119491577, 945 -0.6731740236282349, 0.6653800010681152, 0.03886038810014725, 946 0.576785683631897, 0.32276400923728943, 0.49189892411231995, 947 -0.15864109992980957, 0.5182055234909058, -0.8742017149925232, 948 -0.44735023379325867, 0.11028251051902771, -0.3418811559677124, 949 -0.9158143401145935, -0.4790218770503998, 0.1211843192577362 950 ], 951 'descriptor': {shape: [4, 6], dataType: 'float32'} 952 } 953 } 954 } 955 }, 956 { 957 'name': 'concat three float16 2D tensors of same shape along axis 1', 958 'graph': { 959 'inputs': { 960 'concatInput1': { 961 'data': [ 962 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 963 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 964 -0.44735023379325867, 0.11028251051902771 965 ], 966 'descriptor': {shape: [4, 2], dataType: 'float16'} 967 }, 968 'concatInput2': { 969 'data': [ 970 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 971 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 972 -0.3418811559677124, -0.9158143401145935 973 ], 974 'descriptor': {shape: [4, 2], dataType: 'float16'} 975 }, 976 'concatInput3': { 977 'data': [ 978 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 979 0.03886038810014725, 0.5182055234909058, -0.8742017149925232, 980 -0.4790218770503998, 0.1211843192577362 981 ], 982 'descriptor': {shape: [4, 2], dataType: 'float16'} 983 } 984 }, 985 'operators': [{ 986 'name': 'concat', 987 'arguments': [ 988 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 989 {'axis': 1} 990 ], 991 'outputs': 'concatOutput' 992 }], 993 'expectedOutputs': { 994 'concatOutput': { 995 'data': [ 996 -0.39453125, 0.86181640625, -0.5947265625, -0.40283203125, 997 -0.720703125, -0.79931640625, 0.337890625, -0.99072265625, 998 -0.953125, -0.67333984375, 0.66552734375, 0.038848876953125, 999 0.57666015625, 0.32275390625, 0.491943359375, -0.15869140625, 1000 0.51806640625, -0.8740234375, -0.447265625, 0.11029052734375, 1001 -0.341796875, -0.916015625, -0.47900390625, 0.12115478515625 1002 ], 1003 'descriptor': {shape: [4, 6], dataType: 'float16'} 1004 } 1005 } 1006 } 1007 }, 1008 { 1009 'name': 1010 'concat four float32 2D tensors of same others dimensions except different 2nd dimension along axis 1', 1011 'graph': { 1012 'inputs': { 1013 'concatInput1': { 1014 'data': [-0.3944413363933563, 0.861982524394989, 0.337996244430542], 1015 'descriptor': {shape: [3, 1], dataType: 'float32'} 1016 }, 1017 'concatInput2': { 1018 'data': [ 1019 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1020 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713 1021 ], 1022 'descriptor': {shape: [3, 2], dataType: 'float32'} 1023 }, 1024 'concatInput3': { 1025 'data': [ 1026 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1027 0.49189892411231995, -0.15864109992980957, -0.3418811559677124 1028 ], 1029 'descriptor': {shape: [3, 2], dataType: 'float32'} 1030 }, 1031 'concatInput4': { 1032 'data': [ 1033 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1034 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1035 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1036 ], 1037 'descriptor': {shape: [3, 3], dataType: 'float32'} 1038 } 1039 }, 1040 'operators': [{ 1041 'name': 'concat', 1042 'arguments': [ 1043 { 1044 'inputs': 1045 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1046 }, 1047 {'axis': 1} 1048 ], 1049 'outputs': 'concatOutput' 1050 }], 1051 'expectedOutputs': { 1052 'concatOutput': { 1053 'data': [ 1054 -0.3944413363933563, -0.990639865398407, 0.576785683631897, 1055 -0.402848482131958, -0.9531654119491577, -0.9158143401145935, 1056 -0.7206121683120728, -0.7993468642234802, 0.861982524394989, 1057 0.32276400923728943, -0.44735023379325867, -0.6731740236282349, 1058 0.49189892411231995, 0.6653800010681152, 0.03886038810014725, 1059 0.5182055234909058, 0.337996244430542, 0.11028251051902771, 1060 -0.5945112705230713, -0.15864109992980957, -0.3418811559677124, 1061 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1062 ], 1063 'descriptor': {shape: [3, 8], dataType: 'float32'} 1064 } 1065 } 1066 } 1067 }, 1068 { 1069 'name': 1070 'concat four float16 2D tensors of same others dimensions except different 2nd dimension along axis 1', 1071 'graph': { 1072 'inputs': { 1073 'concatInput1': { 1074 'data': [-0.3944413363933563, 0.861982524394989, 0.337996244430542], 1075 'descriptor': {shape: [3, 1], dataType: 'float16'} 1076 }, 1077 'concatInput2': { 1078 'data': [ 1079 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1080 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713 1081 ], 1082 'descriptor': {shape: [3, 2], dataType: 'float16'} 1083 }, 1084 'concatInput3': { 1085 'data': [ 1086 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1087 0.49189892411231995, -0.15864109992980957, -0.3418811559677124 1088 ], 1089 'descriptor': {shape: [3, 2], dataType: 'float16'} 1090 }, 1091 'concatInput4': { 1092 'data': [ 1093 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1094 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1095 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1096 ], 1097 'descriptor': {shape: [3, 3], dataType: 'float16'} 1098 } 1099 }, 1100 'operators': [{ 1101 'name': 'concat', 1102 'arguments': [ 1103 { 1104 'inputs': 1105 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1106 }, 1107 {'axis': 1} 1108 ], 1109 'outputs': 'concatOutput' 1110 }], 1111 'expectedOutputs': { 1112 'concatOutput': { 1113 'data': [ 1114 -0.39453125, -0.99072265625, 0.57666015625, 1115 -0.40283203125, -0.953125, -0.916015625, 1116 -0.720703125, -0.79931640625, 0.86181640625, 1117 0.32275390625, -0.447265625, -0.67333984375, 1118 0.491943359375, 0.66552734375, 0.038848876953125, 1119 0.51806640625, 0.337890625, 0.11029052734375, 1120 -0.5947265625, -0.15869140625, -0.341796875, 1121 -0.8740234375, -0.47900390625, 0.12115478515625 1122 ], 1123 'descriptor': {shape: [3, 8], dataType: 'float16'} 1124 } 1125 } 1126 } 1127 }, 1128 { 1129 'name': 1130 'concat two float32 3D tensors of same others dimensions except different 1st dimension along axis 0', 1131 'graph': { 1132 'inputs': { 1133 'concatInput1': { 1134 'data': [ 1135 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1136 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1137 ], 1138 'descriptor': {shape: [2, 1, 3], dataType: 'float32'} 1139 }, 1140 'concatInput2': { 1141 'data': [ 1142 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1143 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1144 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1145 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1146 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1147 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1148 ], 1149 'descriptor': {shape: [6, 1, 3], dataType: 'float32'} 1150 } 1151 }, 1152 'operators': [{ 1153 'name': 'concat', 1154 'arguments': 1155 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 1156 'outputs': 'concatOutput' 1157 }], 1158 'expectedOutputs': { 1159 'concatOutput': { 1160 'data': [ 1161 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1162 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1163 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1164 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1165 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1166 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1167 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1168 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1169 ], 1170 'descriptor': {shape: [8, 1, 3], dataType: 'float32'} 1171 } 1172 } 1173 } 1174 }, 1175 { 1176 'name': 1177 'concat two float16 3D tensors of same others dimensions except different 1st dimension along axis 0', 1178 'graph': { 1179 'inputs': { 1180 'concatInput1': { 1181 'data': [ 1182 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1183 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1184 ], 1185 'descriptor': {shape: [2, 1, 3], dataType: 'float16'} 1186 }, 1187 'concatInput2': { 1188 'data': [ 1189 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1190 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1191 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1192 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1193 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1194 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1195 ], 1196 'descriptor': {shape: [6, 1, 3], dataType: 'float16'} 1197 } 1198 }, 1199 'operators': [{ 1200 'name': 'concat', 1201 'arguments': 1202 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 1203 'outputs': 'concatOutput' 1204 }], 1205 'expectedOutputs': { 1206 'concatOutput': { 1207 'data': [ 1208 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 1209 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 1210 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 1211 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 1212 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 1213 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 1214 ], 1215 'descriptor': {shape: [8, 1, 3], dataType: 'float16'} 1216 } 1217 } 1218 } 1219 }, 1220 { 1221 'name': 1222 'concat four float32 3D tensors of same others dimensions except different 2nd dimension along axis 1', 1223 'graph': { 1224 'inputs': { 1225 'concatInput1': { 1226 'data': [-0.3944413363933563, 0.861982524394989, 0.337996244430542], 1227 'descriptor': {shape: [3, 1, 1], dataType: 'float32'} 1228 }, 1229 'concatInput2': { 1230 'data': [ 1231 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1232 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713 1233 ], 1234 'descriptor': {shape: [3, 2, 1], dataType: 'float32'} 1235 }, 1236 'concatInput3': { 1237 'data': [ 1238 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1239 0.49189892411231995, -0.15864109992980957, -0.3418811559677124 1240 ], 1241 'descriptor': {shape: [3, 2, 1], dataType: 'float32'} 1242 }, 1243 'concatInput4': { 1244 'data': [ 1245 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1246 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1247 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1248 ], 1249 'descriptor': {shape: [3, 3, 1], dataType: 'float32'} 1250 } 1251 }, 1252 'operators': [{ 1253 'name': 'concat', 1254 'arguments': [ 1255 { 1256 'inputs': 1257 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1258 }, 1259 {'axis': 1} 1260 ], 1261 'outputs': 'concatOutput' 1262 }], 1263 'expectedOutputs': { 1264 'concatOutput': { 1265 'data': [ 1266 -0.3944413363933563, -0.990639865398407, 0.576785683631897, 1267 -0.402848482131958, -0.9531654119491577, -0.9158143401145935, 1268 -0.7206121683120728, -0.7993468642234802, 0.861982524394989, 1269 0.32276400923728943, -0.44735023379325867, -0.6731740236282349, 1270 0.49189892411231995, 0.6653800010681152, 0.03886038810014725, 1271 0.5182055234909058, 0.337996244430542, 0.11028251051902771, 1272 -0.5945112705230713, -0.15864109992980957, -0.3418811559677124, 1273 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1274 ], 1275 'descriptor': {shape: [3, 8, 1], dataType: 'float32'} 1276 } 1277 } 1278 } 1279 }, 1280 { 1281 'name': 1282 'concat four float16 3D tensors of same others dimensions except different 2nd dimension along axis 1', 1283 'graph': { 1284 'inputs': { 1285 'concatInput1': { 1286 'data': [-0.3944413363933563, 0.861982524394989, 0.337996244430542], 1287 'descriptor': {shape: [3, 1, 1], dataType: 'float16'} 1288 }, 1289 'concatInput2': { 1290 'data': [ 1291 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1292 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713 1293 ], 1294 'descriptor': {shape: [3, 2, 1], dataType: 'float16'} 1295 }, 1296 'concatInput3': { 1297 'data': [ 1298 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1299 0.49189892411231995, -0.15864109992980957, -0.3418811559677124 1300 ], 1301 'descriptor': {shape: [3, 2, 1], dataType: 'float16'} 1302 }, 1303 'concatInput4': { 1304 'data': [ 1305 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1306 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1307 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1308 ], 1309 'descriptor': {shape: [3, 3, 1], dataType: 'float16'} 1310 } 1311 }, 1312 'operators': [{ 1313 'name': 'concat', 1314 'arguments': [ 1315 { 1316 'inputs': 1317 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1318 }, 1319 {'axis': 1} 1320 ], 1321 'outputs': 'concatOutput' 1322 }], 1323 'expectedOutputs': { 1324 'concatOutput': { 1325 'data': [ 1326 -0.39453125, -0.99072265625, 0.57666015625, 1327 -0.40283203125, -0.953125, -0.916015625, 1328 -0.720703125, -0.79931640625, 0.86181640625, 1329 0.32275390625, -0.447265625, -0.67333984375, 1330 0.491943359375, 0.66552734375, 0.038848876953125, 1331 0.51806640625, 0.337890625, 0.11029052734375, 1332 -0.5947265625, -0.15869140625, -0.341796875, 1333 -0.8740234375, -0.47900390625, 0.12115478515625 1334 ], 1335 'descriptor': {shape: [3, 8, 1], dataType: 'float16'} 1336 } 1337 } 1338 } 1339 }, 1340 { 1341 'name': 'concat three float32 3D tensors of same shape along axis 2', 1342 'graph': { 1343 'inputs': { 1344 'concatInput1': { 1345 'data': [ 1346 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1347 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1348 -0.44735023379325867, 0.11028251051902771 1349 ], 1350 'descriptor': {shape: [2, 2, 2], dataType: 'float32'} 1351 }, 1352 'concatInput2': { 1353 'data': [ 1354 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 1355 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 1356 -0.3418811559677124, -0.9158143401145935 1357 ], 1358 'descriptor': {shape: [2, 2, 2], dataType: 'float32'} 1359 }, 1360 'concatInput3': { 1361 'data': [ 1362 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1363 0.03886038810014725, 0.5182055234909058, -0.8742017149925232, 1364 -0.4790218770503998, 0.1211843192577362 1365 ], 1366 'descriptor': {shape: [2, 2, 2], dataType: 'float32'} 1367 } 1368 }, 1369 'operators': [{ 1370 'name': 'concat', 1371 'arguments': [ 1372 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 1373 {'axis': 2} 1374 ], 1375 'outputs': 'concatOutput' 1376 }], 1377 'expectedOutputs': { 1378 'concatOutput': { 1379 'data': [ 1380 -0.3944413363933563, 0.861982524394989, -0.5945112705230713, 1381 -0.402848482131958, -0.7206121683120728, -0.7993468642234802, 1382 0.337996244430542, -0.990639865398407, -0.9531654119491577, 1383 -0.6731740236282349, 0.6653800010681152, 0.03886038810014725, 1384 0.576785683631897, 0.32276400923728943, 0.49189892411231995, 1385 -0.15864109992980957, 0.5182055234909058, -0.8742017149925232, 1386 -0.44735023379325867, 0.11028251051902771, -0.3418811559677124, 1387 -0.9158143401145935, -0.4790218770503998, 0.1211843192577362 1388 ], 1389 'descriptor': {shape: [2, 2, 6], dataType: 'float32'} 1390 } 1391 } 1392 } 1393 }, 1394 { 1395 'name': 'concat three float16 3D tensors of same shape along axis 2', 1396 'graph': { 1397 'inputs': { 1398 'concatInput1': { 1399 'data': [ 1400 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1401 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1402 -0.44735023379325867, 0.11028251051902771 1403 ], 1404 'descriptor': {shape: [2, 2, 2], dataType: 'float16'} 1405 }, 1406 'concatInput2': { 1407 'data': [ 1408 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 1409 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 1410 -0.3418811559677124, -0.9158143401145935 1411 ], 1412 'descriptor': {shape: [2, 2, 2], dataType: 'float16'} 1413 }, 1414 'concatInput3': { 1415 'data': [ 1416 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1417 0.03886038810014725, 0.5182055234909058, -0.8742017149925232, 1418 -0.4790218770503998, 0.1211843192577362 1419 ], 1420 'descriptor': {shape: [2, 2, 2], dataType: 'float16'} 1421 } 1422 }, 1423 'operators': [{ 1424 'name': 'concat', 1425 'arguments': [ 1426 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 1427 {'axis': 2} 1428 ], 1429 'outputs': 'concatOutput' 1430 }], 1431 'expectedOutputs': { 1432 'concatOutput': { 1433 'data': [ 1434 -0.39453125, 0.86181640625, -0.5947265625, -0.40283203125, 1435 -0.720703125, -0.79931640625, 0.337890625, -0.99072265625, 1436 -0.953125, -0.67333984375, 0.66552734375, 0.038848876953125, 1437 0.57666015625, 0.32275390625, 0.491943359375, -0.15869140625, 1438 0.51806640625, -0.8740234375, -0.447265625, 0.11029052734375, 1439 -0.341796875, -0.916015625, -0.47900390625, 0.12115478515625 1440 ], 1441 'descriptor': {shape: [2, 2, 6], dataType: 'float16'} 1442 } 1443 } 1444 } 1445 }, 1446 { 1447 'name': 1448 'concat two float32 4D tensors of same others dimensions except different 1st dimension along axis 0', 1449 'graph': { 1450 'inputs': { 1451 'concatInput1': { 1452 'data': [ 1453 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1454 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1455 ], 1456 'descriptor': {shape: [1, 3, 1, 2], dataType: 'float32'} 1457 }, 1458 'concatInput2': { 1459 'data': [ 1460 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1461 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1462 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1463 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1464 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1465 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1466 ], 1467 'descriptor': {shape: [3, 3, 1, 2], dataType: 'float32'} 1468 } 1469 }, 1470 'operators': [{ 1471 'name': 'concat', 1472 'arguments': 1473 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 1474 'outputs': 'concatOutput' 1475 }], 1476 'expectedOutputs': { 1477 'concatOutput': { 1478 'data': [ 1479 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1480 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1481 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1482 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1483 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1484 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1485 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1486 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1487 ], 1488 'descriptor': {shape: [4, 3, 1, 2], dataType: 'float32'} 1489 } 1490 } 1491 } 1492 }, 1493 { 1494 'name': 1495 'concat two float16 4D tensors of same others dimensions except different 1st dimension along axis 0', 1496 'graph': { 1497 'inputs': { 1498 'concatInput1': { 1499 'data': [ 1500 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1501 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1502 ], 1503 'descriptor': {shape: [1, 3, 1, 2], dataType: 'float16'} 1504 }, 1505 'concatInput2': { 1506 'data': [ 1507 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1508 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1509 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1510 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1511 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1512 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1513 ], 1514 'descriptor': {shape: [3, 3, 1, 2], dataType: 'float16'} 1515 } 1516 }, 1517 'operators': [{ 1518 'name': 'concat', 1519 'arguments': 1520 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 0}], 1521 'outputs': 'concatOutput' 1522 }], 1523 'expectedOutputs': { 1524 'concatOutput': { 1525 'data': [ 1526 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 1527 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 1528 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 1529 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 1530 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 1531 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 1532 ], 1533 'descriptor': {shape: [4, 3, 1, 2], dataType: 'float16'} 1534 } 1535 } 1536 } 1537 }, 1538 { 1539 'name': 'concat three float32 4D tensors of same shape along axis 1', 1540 'graph': { 1541 'inputs': { 1542 'concatInput1': { 1543 'data': [ 1544 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1545 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1546 -0.44735023379325867, 0.11028251051902771 1547 ], 1548 'descriptor': {shape: [2, 2, 1, 2], dataType: 'float32'} 1549 }, 1550 'concatInput2': { 1551 'data': [ 1552 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 1553 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 1554 -0.3418811559677124, -0.9158143401145935 1555 ], 1556 'descriptor': {shape: [2, 2, 1, 2], dataType: 'float32'} 1557 }, 1558 'concatInput3': { 1559 'data': [ 1560 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1561 0.03886038810014725, 0.5182055234909058, -0.8742017149925232, 1562 -0.4790218770503998, 0.1211843192577362 1563 ], 1564 'descriptor': {shape: [2, 2, 1, 2], dataType: 'float32'} 1565 } 1566 }, 1567 'operators': [{ 1568 'name': 'concat', 1569 'arguments': [ 1570 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 1571 {'axis': 1} 1572 ], 1573 'outputs': 'concatOutput' 1574 }], 1575 'expectedOutputs': { 1576 'concatOutput': { 1577 'data': [ 1578 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1579 -0.990639865398407, -0.5945112705230713, -0.402848482131958, 1580 -0.9531654119491577, -0.6731740236282349, -0.7206121683120728, 1581 -0.7993468642234802, 0.6653800010681152, 0.03886038810014725, 1582 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 1583 0.11028251051902771, 0.49189892411231995, -0.15864109992980957, 1584 -0.3418811559677124, -0.9158143401145935, 0.5182055234909058, 1585 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1586 ], 1587 'descriptor': {shape: [2, 6, 1, 2], dataType: 'float32'} 1588 } 1589 } 1590 } 1591 }, 1592 { 1593 'name': 'concat three float16 4D tensors of same shape along axis 1', 1594 'graph': { 1595 'inputs': { 1596 'concatInput1': { 1597 'data': [ 1598 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1599 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1600 -0.44735023379325867, 0.11028251051902771 1601 ], 1602 'descriptor': {shape: [2, 2, 1, 2], dataType: 'float16'} 1603 }, 1604 'concatInput2': { 1605 'data': [ 1606 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 1607 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 1608 -0.3418811559677124, -0.9158143401145935 1609 ], 1610 'descriptor': {shape: [2, 2, 1, 2], dataType: 'float16'} 1611 }, 1612 'concatInput3': { 1613 'data': [ 1614 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1615 0.03886038810014725, 0.5182055234909058, -0.8742017149925232, 1616 -0.4790218770503998, 0.1211843192577362 1617 ], 1618 'descriptor': {shape: [2, 2, 1, 2], dataType: 'float16'} 1619 } 1620 }, 1621 'operators': [{ 1622 'name': 'concat', 1623 'arguments': [ 1624 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 1625 {'axis': 1} 1626 ], 1627 'outputs': 'concatOutput' 1628 }], 1629 'expectedOutputs': { 1630 'concatOutput': { 1631 'data': [ 1632 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 1633 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 1634 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 1635 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 1636 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 1637 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 1638 ], 1639 'descriptor': {shape: [2, 6, 1, 2], dataType: 'float16'} 1640 } 1641 } 1642 } 1643 }, 1644 { 1645 'name': 1646 'concat three float32 4D tensors of same others dimensions except different 3rd dimension along axis 2', 1647 'graph': { 1648 'inputs': { 1649 'concatInput1': { 1650 'data': [ 1651 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1652 -0.990639865398407 1653 ], 1654 'descriptor': {shape: [1, 2, 2, 1], dataType: 'float32'} 1655 }, 1656 'concatInput2': { 1657 'data': [ 1658 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 1659 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 1660 -0.9531654119491577, -0.6731740236282349, 0.49189892411231995, 1661 -0.15864109992980957, -0.3418811559677124, -0.9158143401145935, 1662 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1663 0.03886038810014725 1664 ], 1665 'descriptor': {shape: [1, 2, 8, 1], dataType: 'float32'} 1666 }, 1667 'concatInput3': { 1668 'data': [ 1669 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 1670 0.1211843192577362 1671 ], 1672 'descriptor': {shape: [1, 2, 2, 1], dataType: 'float32'} 1673 } 1674 }, 1675 'operators': [{ 1676 'name': 'concat', 1677 'arguments': [ 1678 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 1679 {'axis': 2} 1680 ], 1681 'outputs': 'concatOutput' 1682 }], 1683 'expectedOutputs': { 1684 'concatOutput': { 1685 'data': [ 1686 -0.3944413363933563, 0.861982524394989, 0.576785683631897, 1687 0.32276400923728943, -0.44735023379325867, 0.11028251051902771, 1688 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 1689 -0.6731740236282349, 0.5182055234909058, -0.8742017149925232, 1690 0.337996244430542, -0.990639865398407, 0.49189892411231995, 1691 -0.15864109992980957, -0.3418811559677124, -0.9158143401145935, 1692 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1693 0.03886038810014725, -0.4790218770503998, 0.1211843192577362 1694 ], 1695 'descriptor': {shape: [1, 2, 12, 1], dataType: 'float32'} 1696 } 1697 } 1698 } 1699 }, 1700 { 1701 'name': 1702 'concat three float16 4D tensors of same others dimensions except different 3rd dimension along axis 2', 1703 'graph': { 1704 'inputs': { 1705 'concatInput1': { 1706 'data': [ 1707 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1708 -0.990639865398407 1709 ], 1710 'descriptor': {shape: [1, 2, 2, 1], dataType: 'float16'} 1711 }, 1712 'concatInput2': { 1713 'data': [ 1714 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 1715 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 1716 -0.9531654119491577, -0.6731740236282349, 0.49189892411231995, 1717 -0.15864109992980957, -0.3418811559677124, -0.9158143401145935, 1718 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1719 0.03886038810014725 1720 ], 1721 'descriptor': {shape: [1, 2, 8, 1], dataType: 'float16'} 1722 }, 1723 'concatInput3': { 1724 'data': [ 1725 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 1726 0.1211843192577362 1727 ], 1728 'descriptor': {shape: [1, 2, 2, 1], dataType: 'float16'} 1729 } 1730 }, 1731 'operators': [{ 1732 'name': 'concat', 1733 'arguments': [ 1734 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 1735 {'axis': 2} 1736 ], 1737 'outputs': 'concatOutput' 1738 }], 1739 'expectedOutputs': { 1740 'concatOutput': { 1741 'data': [ 1742 -0.39453125, 0.86181640625, 0.57666015625, 0.32275390625, 1743 -0.447265625, 0.11029052734375, -0.5947265625, -0.40283203125, 1744 -0.953125, -0.67333984375, 0.51806640625, -0.8740234375, 1745 0.337890625, -0.99072265625, 0.491943359375, -0.15869140625, 1746 -0.341796875, -0.916015625, -0.720703125, -0.79931640625, 1747 0.66552734375, 0.038848876953125, -0.47900390625, 0.12115478515625 1748 ], 1749 'descriptor': {shape: [1, 2, 12, 1], dataType: 'float16'} 1750 } 1751 } 1752 } 1753 }, 1754 { 1755 'name': 1756 'concat four float32 4D tensors of same others dimensions except different 4th dimension along axis 3', 1757 'graph': { 1758 'inputs': { 1759 'concatInput1': { 1760 'data': [-0.3944413363933563, 0.861982524394989, 0.337996244430542], 1761 'descriptor': {shape: [1, 3, 1, 1], dataType: 'float32'} 1762 }, 1763 'concatInput2': { 1764 'data': [-0.990639865398407, 0.576785683631897, 0.32276400923728943], 1765 'descriptor': {shape: [1, 3, 1, 1], dataType: 'float32'} 1766 }, 1767 'concatInput3': { 1768 'data': [ 1769 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1770 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 1771 ], 1772 'descriptor': {shape: [1, 3, 1, 2], dataType: 'float32'} 1773 }, 1774 'concatInput4': { 1775 'data': [ 1776 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1777 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1778 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1779 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1780 ], 1781 'descriptor': {shape: [1, 3, 1, 4], dataType: 'float32'} 1782 } 1783 }, 1784 'operators': [{ 1785 'name': 'concat', 1786 'arguments': [ 1787 { 1788 'inputs': 1789 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1790 }, 1791 {'axis': 3} 1792 ], 1793 'outputs': 'concatOutput' 1794 }], 1795 'expectedOutputs': { 1796 'concatOutput': { 1797 'data': [ 1798 -0.3944413363933563, -0.990639865398407, -0.44735023379325867, 1799 0.11028251051902771, 0.49189892411231995, -0.15864109992980957, 1800 -0.3418811559677124, -0.9158143401145935, 0.861982524394989, 1801 0.576785683631897, -0.5945112705230713, -0.402848482131958, 1802 -0.7206121683120728, -0.7993468642234802, 0.6653800010681152, 1803 0.03886038810014725, 0.337996244430542, 0.32276400923728943, 1804 -0.9531654119491577, -0.6731740236282349, 0.5182055234909058, 1805 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1806 ], 1807 'descriptor': {shape: [1, 3, 1, 8], dataType: 'float32'} 1808 } 1809 } 1810 } 1811 }, 1812 { 1813 'name': 1814 'concat four float16 4D tensors of same others dimensions except different 4th dimension along axis 3', 1815 'graph': { 1816 'inputs': { 1817 'concatInput1': { 1818 'data': [-0.3944413363933563, 0.861982524394989, 0.337996244430542], 1819 'descriptor': {shape: [1, 3, 1, 1], dataType: 'float16'} 1820 }, 1821 'concatInput2': { 1822 'data': [-0.990639865398407, 0.576785683631897, 0.32276400923728943], 1823 'descriptor': {shape: [1, 3, 1, 1], dataType: 'float16'} 1824 }, 1825 'concatInput3': { 1826 'data': [ 1827 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1828 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 1829 ], 1830 'descriptor': {shape: [1, 3, 1, 2], dataType: 'float16'} 1831 }, 1832 'concatInput4': { 1833 'data': [ 1834 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1835 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1836 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1837 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1838 ], 1839 'descriptor': {shape: [1, 3, 1, 4], dataType: 'float16'} 1840 } 1841 }, 1842 'operators': [{ 1843 'name': 'concat', 1844 'arguments': [ 1845 { 1846 'inputs': 1847 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1848 }, 1849 {'axis': 3} 1850 ], 1851 'outputs': 'concatOutput' 1852 }], 1853 'expectedOutputs': { 1854 'concatOutput': { 1855 'data': [ 1856 -0.39453125, -0.99072265625, -0.447265625, 0.11029052734375, 1857 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 1858 0.86181640625, 0.57666015625, -0.5947265625, -0.40283203125, 1859 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 1860 0.337890625, 0.32275390625, -0.953125, -0.67333984375, 1861 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 1862 ], 1863 'descriptor': {shape: [1, 3, 1, 8], dataType: 'float16'} 1864 } 1865 } 1866 } 1867 }, 1868 { 1869 'name': 'concat four float32 5D tensors of same shape along axis 0', 1870 'graph': { 1871 'inputs': { 1872 'concatInput1': { 1873 'data': [ 1874 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1875 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1876 ], 1877 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float32'} 1878 }, 1879 'concatInput2': { 1880 'data': [ 1881 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1882 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 1883 ], 1884 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float32'} 1885 }, 1886 'concatInput3': { 1887 'data': [ 1888 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1889 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802 1890 ], 1891 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float32'} 1892 }, 1893 'concatInput4': { 1894 'data': [ 1895 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1896 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1897 ], 1898 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float32'} 1899 } 1900 }, 1901 'operators': [{ 1902 'name': 'concat', 1903 'arguments': [ 1904 { 1905 'inputs': 1906 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1907 }, 1908 {'axis': 0} 1909 ], 1910 'outputs': 'concatOutput' 1911 }], 1912 'expectedOutputs': { 1913 'concatOutput': { 1914 'data': [ 1915 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1916 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 1917 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1918 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 1919 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1920 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 1921 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1922 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1923 ], 1924 'descriptor': {shape: [4, 2, 1, 1, 3], dataType: 'float32'} 1925 } 1926 } 1927 } 1928 }, 1929 { 1930 'name': 'concat four float16 5D tensors of same shape along axis 0', 1931 'graph': { 1932 'inputs': { 1933 'concatInput1': { 1934 'data': [ 1935 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1936 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1937 ], 1938 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float16'} 1939 }, 1940 'concatInput2': { 1941 'data': [ 1942 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 1943 -0.402848482131958, -0.9531654119491577, -0.6731740236282349 1944 ], 1945 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float16'} 1946 }, 1947 'concatInput3': { 1948 'data': [ 1949 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 1950 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802 1951 ], 1952 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float16'} 1953 }, 1954 'concatInput4': { 1955 'data': [ 1956 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 1957 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 1958 ], 1959 'descriptor': {shape: [1, 2, 1, 1, 3], dataType: 'float16'} 1960 } 1961 }, 1962 'operators': [{ 1963 'name': 'concat', 1964 'arguments': [ 1965 { 1966 'inputs': 1967 ['concatInput1', 'concatInput2', 'concatInput3', 'concatInput4'] 1968 }, 1969 {'axis': 0} 1970 ], 1971 'outputs': 'concatOutput' 1972 }], 1973 'expectedOutputs': { 1974 'concatOutput': { 1975 'data': [ 1976 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 1977 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 1978 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 1979 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 1980 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 1981 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 1982 ], 1983 'descriptor': {shape: [4, 2, 1, 1, 3], dataType: 'float16'} 1984 } 1985 } 1986 } 1987 }, 1988 { 1989 'name': 1990 'concat two float32 5D tensors of same others dimensions except different 2nd dimension along axis 1', 1991 'graph': { 1992 'inputs': { 1993 'concatInput1': { 1994 'data': [ 1995 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 1996 -0.990639865398407, 0.576785683631897, 0.32276400923728943 1997 ], 1998 'descriptor': {shape: [1, 2, 3, 1, 1], dataType: 'float32'} 1999 }, 2000 'concatInput2': { 2001 'data': [ 2002 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 2003 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 2004 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2005 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2006 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2007 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2008 ], 2009 'descriptor': {shape: [1, 6, 3, 1, 1], dataType: 'float32'} 2010 } 2011 }, 2012 'operators': [{ 2013 'name': 'concat', 2014 'arguments': 2015 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 1}], 2016 'outputs': 'concatOutput' 2017 }], 2018 'expectedOutputs': { 2019 'concatOutput': { 2020 'data': [ 2021 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2022 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 2023 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 2024 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 2025 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2026 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2027 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2028 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2029 ], 2030 'descriptor': {shape: [1, 8, 3, 1, 1], dataType: 'float32'} 2031 } 2032 } 2033 } 2034 }, 2035 { 2036 'name': 2037 'concat two float16 5D tensors of same others dimensions except different 2nd dimension along axis 1', 2038 'graph': { 2039 'inputs': { 2040 'concatInput1': { 2041 'data': [ 2042 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2043 -0.990639865398407, 0.576785683631897, 0.32276400923728943 2044 ], 2045 'descriptor': {shape: [1, 2, 3, 1, 1], dataType: 'float16'} 2046 }, 2047 'concatInput2': { 2048 'data': [ 2049 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 2050 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 2051 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2052 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2053 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2054 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2055 ], 2056 'descriptor': {shape: [1, 6, 3, 1, 1], dataType: 'float16'} 2057 } 2058 }, 2059 'operators': [{ 2060 'name': 'concat', 2061 'arguments': 2062 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 1}], 2063 'outputs': 'concatOutput' 2064 }], 2065 'expectedOutputs': { 2066 'concatOutput': { 2067 'data': [ 2068 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 2069 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 2070 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 2071 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 2072 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 2073 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 2074 ], 2075 'descriptor': {shape: [1, 8, 3, 1, 1], dataType: 'float16'} 2076 } 2077 } 2078 } 2079 }, 2080 { 2081 'name': 2082 'concat three float32 5D tensors of same others dimensions except different 3rd dimension along axis 2', 2083 'graph': { 2084 'inputs': { 2085 'concatInput1': { 2086 'data': [ 2087 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2088 -0.990639865398407 2089 ], 2090 'descriptor': {shape: [1, 2, 1, 1, 2], dataType: 'float32'} 2091 }, 2092 'concatInput2': { 2093 'data': [ 2094 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 2095 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 2096 -0.9531654119491577, -0.6731740236282349 2097 ], 2098 'descriptor': {shape: [1, 2, 2, 1, 2], dataType: 'float32'} 2099 }, 2100 'concatInput3': { 2101 'data': [ 2102 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2103 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2104 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2105 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2106 ], 2107 'descriptor': {shape: [1, 2, 3, 1, 2], dataType: 'float32'} 2108 } 2109 }, 2110 'operators': [{ 2111 'name': 'concat', 2112 'arguments': [ 2113 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 2114 {'axis': 2} 2115 ], 2116 'outputs': 'concatOutput' 2117 }], 2118 'expectedOutputs': { 2119 'concatOutput': { 2120 'data': [ 2121 -0.3944413363933563, 0.861982524394989, 0.576785683631897, 2122 0.32276400923728943, -0.44735023379325867, 0.11028251051902771, 2123 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2124 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2125 0.337996244430542, -0.990639865398407, -0.5945112705230713, 2126 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 2127 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2128 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2129 ], 2130 'descriptor': {shape: [1, 2, 6, 1, 2], dataType: 'float32'} 2131 } 2132 } 2133 } 2134 }, 2135 { 2136 'name': 2137 'concat three float16 5D tensors of same others dimensions except different 3rd dimension along axis 2', 2138 'graph': { 2139 'inputs': { 2140 'concatInput1': { 2141 'data': [ 2142 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2143 -0.990639865398407 2144 ], 2145 'descriptor': {shape: [1, 2, 1, 1, 2], dataType: 'float16'} 2146 }, 2147 'concatInput2': { 2148 'data': [ 2149 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 2150 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 2151 -0.9531654119491577, -0.6731740236282349 2152 ], 2153 'descriptor': {shape: [1, 2, 2, 1, 2], dataType: 'float16'} 2154 }, 2155 'concatInput3': { 2156 'data': [ 2157 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2158 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2159 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2160 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2161 ], 2162 'descriptor': {shape: [1, 2, 3, 1, 2], dataType: 'float16'} 2163 } 2164 }, 2165 'operators': [{ 2166 'name': 'concat', 2167 'arguments': [ 2168 {'inputs': ['concatInput1', 'concatInput2', 'concatInput3']}, 2169 {'axis': 2} 2170 ], 2171 'outputs': 'concatOutput' 2172 }], 2173 'expectedOutputs': { 2174 'concatOutput': { 2175 'data': [ 2176 -0.39453125, 0.86181640625, 0.57666015625, 0.32275390625, 2177 -0.447265625, 0.11029052734375, 0.491943359375, -0.15869140625, 2178 -0.341796875, -0.916015625, -0.720703125, -0.79931640625, 2179 0.337890625, -0.99072265625, -0.5947265625, -0.40283203125, 2180 -0.953125, -0.67333984375, 0.66552734375, 0.038848876953125, 2181 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 2182 ], 2183 'descriptor': {shape: [1, 2, 6, 1, 2], dataType: 'float16'} 2184 } 2185 } 2186 } 2187 }, 2188 { 2189 'name': 2190 'concat two float32 5D tensors of same others dimensions except different 4th dimension along axis 3', 2191 'graph': { 2192 'inputs': { 2193 'concatInput1': { 2194 'data': [ 2195 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2196 -0.990639865398407, 0.576785683631897, 0.32276400923728943 2197 ], 2198 'descriptor': {shape: [3, 1, 1, 1, 2], dataType: 'float32'} 2199 }, 2200 'concatInput2': { 2201 'data': [ 2202 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 2203 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 2204 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2205 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2206 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2207 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2208 ], 2209 'descriptor': {shape: [3, 1, 1, 3, 2], dataType: 'float32'} 2210 } 2211 }, 2212 'operators': [{ 2213 'name': 'concat', 2214 'arguments': 2215 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 3}], 2216 'outputs': 'concatOutput' 2217 }], 2218 'expectedOutputs': { 2219 'concatOutput': { 2220 'data': [ 2221 -0.3944413363933563, 0.861982524394989, -0.44735023379325867, 2222 0.11028251051902771, -0.5945112705230713, -0.402848482131958, 2223 -0.9531654119491577, -0.6731740236282349, 0.337996244430542, 2224 -0.990639865398407, 0.49189892411231995, -0.15864109992980957, 2225 -0.3418811559677124, -0.9158143401145935, -0.7206121683120728, 2226 -0.7993468642234802, 0.576785683631897, 0.32276400923728943, 2227 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2228 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2229 ], 2230 'descriptor': {shape: [3, 1, 1, 4, 2], dataType: 'float32'} 2231 } 2232 } 2233 } 2234 }, 2235 { 2236 'name': 2237 'concat two float16 5D tensors of same others dimensions except different 4th dimension along axis 3', 2238 'graph': { 2239 'inputs': { 2240 'concatInput1': { 2241 'data': [ 2242 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2243 -0.990639865398407, 0.576785683631897, 0.32276400923728943 2244 ], 2245 'descriptor': {shape: [3, 1, 1, 1, 2], dataType: 'float16'} 2246 }, 2247 'concatInput2': { 2248 'data': [ 2249 -0.44735023379325867, 0.11028251051902771, -0.5945112705230713, 2250 -0.402848482131958, -0.9531654119491577, -0.6731740236282349, 2251 0.49189892411231995, -0.15864109992980957, -0.3418811559677124, 2252 -0.9158143401145935, -0.7206121683120728, -0.7993468642234802, 2253 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2254 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2255 ], 2256 'descriptor': {shape: [3, 1, 1, 3, 2], dataType: 'float16'} 2257 } 2258 }, 2259 'operators': [{ 2260 'name': 'concat', 2261 'arguments': 2262 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 3}], 2263 'outputs': 'concatOutput' 2264 }], 2265 'expectedOutputs': { 2266 'concatOutput': { 2267 'data': [ 2268 -0.39453125, 0.86181640625, -0.447265625, 0.11029052734375, 2269 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 2270 0.337890625, -0.99072265625, 0.491943359375, -0.15869140625, 2271 -0.341796875, -0.916015625, -0.720703125, -0.79931640625, 2272 0.57666015625, 0.32275390625, 0.66552734375, 0.038848876953125, 2273 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 2274 ], 2275 'descriptor': {shape: [3, 1, 1, 4, 2], dataType: 'float16'} 2276 } 2277 } 2278 } 2279 }, 2280 { 2281 'name': 2282 'concat two float32 5D tensors of same others dimensions except different 5th dimension along axis 4', 2283 'graph': { 2284 'inputs': { 2285 'concatInput1': { 2286 'data': [ 2287 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2288 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 2289 -0.44735023379325867, 0.11028251051902771 2290 ], 2291 'descriptor': {shape: [1, 2, 1, 1, 4], dataType: 'float32'} 2292 }, 2293 'concatInput2': { 2294 'data': [ 2295 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 2296 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 2297 -0.3418811559677124, -0.9158143401145935, -0.7206121683120728, 2298 -0.7993468642234802, 0.6653800010681152, 0.03886038810014725, 2299 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 2300 0.1211843192577362 2301 ], 2302 'descriptor': {shape: [1, 2, 1, 1, 8], dataType: 'float32'} 2303 } 2304 }, 2305 'operators': [{ 2306 'name': 'concat', 2307 'arguments': 2308 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 4}], 2309 'outputs': 'concatOutput' 2310 }], 2311 'expectedOutputs': { 2312 'concatOutput': { 2313 'data': [ 2314 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2315 -0.990639865398407, -0.5945112705230713, -0.402848482131958, 2316 -0.9531654119491577, -0.6731740236282349, 0.49189892411231995, 2317 -0.15864109992980957, -0.3418811559677124, -0.9158143401145935, 2318 0.576785683631897, 0.32276400923728943, -0.44735023379325867, 2319 0.11028251051902771, -0.7206121683120728, -0.7993468642234802, 2320 0.6653800010681152, 0.03886038810014725, 0.5182055234909058, 2321 -0.8742017149925232, -0.4790218770503998, 0.1211843192577362 2322 ], 2323 'descriptor': {shape: [1, 2, 1, 1, 12], dataType: 'float32'} 2324 } 2325 } 2326 } 2327 }, 2328 { 2329 'name': 2330 'concat two float16 5D tensors of same others dimensions except different 5th dimension along axis 4', 2331 'graph': { 2332 'inputs': { 2333 'concatInput1': { 2334 'data': [ 2335 -0.3944413363933563, 0.861982524394989, 0.337996244430542, 2336 -0.990639865398407, 0.576785683631897, 0.32276400923728943, 2337 -0.44735023379325867, 0.11028251051902771 2338 ], 2339 'descriptor': {shape: [1, 2, 1, 1, 4], dataType: 'float16'} 2340 }, 2341 'concatInput2': { 2342 'data': [ 2343 -0.5945112705230713, -0.402848482131958, -0.9531654119491577, 2344 -0.6731740236282349, 0.49189892411231995, -0.15864109992980957, 2345 -0.3418811559677124, -0.9158143401145935, -0.7206121683120728, 2346 -0.7993468642234802, 0.6653800010681152, 0.03886038810014725, 2347 0.5182055234909058, -0.8742017149925232, -0.4790218770503998, 2348 0.1211843192577362 2349 ], 2350 'descriptor': {shape: [1, 2, 1, 1, 8], dataType: 'float16'} 2351 } 2352 }, 2353 'operators': [{ 2354 'name': 'concat', 2355 'arguments': 2356 [{'inputs': ['concatInput1', 'concatInput2']}, {'axis': 4}], 2357 'outputs': 'concatOutput' 2358 }], 2359 'expectedOutputs': { 2360 'concatOutput': { 2361 'data': [ 2362 -0.39453125, 0.86181640625, 0.337890625, -0.99072265625, 2363 -0.5947265625, -0.40283203125, -0.953125, -0.67333984375, 2364 0.491943359375, -0.15869140625, -0.341796875, -0.916015625, 2365 0.57666015625, 0.32275390625, -0.447265625, 0.11029052734375, 2366 -0.720703125, -0.79931640625, 0.66552734375, 0.038848876953125, 2367 0.51806640625, -0.8740234375, -0.47900390625, 0.12115478515625 2368 ], 2369 'descriptor': {shape: [1, 2, 1, 1, 12], dataType: 'float16'} 2370 } 2371 } 2372 } 2373 } 2374 ]; 2375 2376 webnn_conformance_test(concatTests, buildAndExecuteGraph, getZeroULPTolerance);