diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:39:55 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:46:02 +0000 |
commit | 874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch) | |
tree | 4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48 | |
parent | 7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff) | |
download | conformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz |
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48')
3 files changed, 180 insertions, 0 deletions
diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json @@ -0,0 +1,22 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/input-0.json new file mode 100644 index 000000000..99a614079 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/input-0.json @@ -0,0 +1,105 @@ +{ + "type": "int64", + "data": [ + [ + -107852243591771, + 50824205685852, + -16249233431497, + -23353832696017, + 130587331536735, + -107449985898723, + 40486194595974, + -123778268236939 + ], + [ + 52049746549917, + 16788013811705, + 63869075761452, + 70600464297337, + -103570335733804, + -63417727796618, + -69694681834581, + 30406947368457 + ], + [ + -68015806515878, + 4469826226284, + -16288690771885, + 24109205797183, + -41838606153898, + 119612665630704, + 130888380273270, + -41974258909203 + ], + [ + 116603422075187, + 82481626421003, + -77091738376170, + 17679344981985, + -34446260403963, + 84706038672155, + 110877112727626, + 34456026961341 + ], + [ + 36628947861402, + 62277013602461, + -1387139067322, + -8258757129898, + 17790281304647, + 89610915955935, + 41498487321281, + -100209924897869 + ], + [ + -101216224005291, + -23672581886713, + 44780485416097, + -30650271433813, + -33285932433871, + 111309041576396, + 103645713564601, + -6850536809694 + ], + [ + 61441474586071, + -13483958967738, + 29030993586411, + -63469426176551, + -693778665918, + 40121167491382, + -16387958745828, + 73010737385909 + ], + [ + -65493042892402, + -137113014269777, + 116601325775444, + -39115544108514, + -69780393462989, + -6739175786405, + -70546066003598, + 65652258649666 + ], + [ + -54381949386739, + 138398692399306, + -62986146227950, + -38878866376231, + 10803375641657, + -139799249226588, + -139573024587239, + -74935658686673 + ], + [ + -117750777086241, + 73202487456172, + 104657297510875, + -24419667332028, + 4649492478054, + 31734490877426, + -114030874398846, + -8495894561112 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json new file mode 100644 index 000000000..3ed47bb06 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json @@ -0,0 +1,53 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10, + 8 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |