aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/rsqrt/rsqrt_19_f32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_unary/rsqrt/rsqrt_19_f32')
-rw-r--r--operators/ew_unary/rsqrt/rsqrt_19_f32/Conformance-result-0.json24
-rw-r--r--operators/ew_unary/rsqrt/rsqrt_19_f32/desc.json23
-rw-r--r--operators/ew_unary/rsqrt/rsqrt_19_f32/input-0.json24
-rw-r--r--operators/ew_unary/rsqrt/rsqrt_19_f32/test.json52
4 files changed, 123 insertions, 0 deletions
diff --git a/operators/ew_unary/rsqrt/rsqrt_19_f32/Conformance-result-0.json b/operators/ew_unary/rsqrt/rsqrt_19_f32/Conformance-result-0.json
new file mode 100644
index 000000000..d8681936c
--- /dev/null
+++ b/operators/ew_unary/rsqrt/rsqrt_19_f32/Conformance-result-0.json
@@ -0,0 +1,24 @@
+{
+ "type": "float32",
+ "data": [
+ NaN,
+ NaN,
+ 0.765377402305603,
+ 1.3182332515716553,
+ 0.8800939917564392,
+ NaN,
+ NaN,
+ 2.1401007175445557,
+ NaN,
+ 0.8735291361808777,
+ 1.3779575824737549,
+ 0.9842066764831543,
+ NaN,
+ 0.7287839651107788,
+ 0.7974561452865601,
+ 0.9476506114006042,
+ NaN,
+ NaN,
+ NaN
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/rsqrt/rsqrt_19_f32/desc.json b/operators/ew_unary/rsqrt/rsqrt_19_f32/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/ew_unary/rsqrt/rsqrt_19_f32/desc.json
@@ -0,0 +1,23 @@
+{
+ "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": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/rsqrt/rsqrt_19_f32/input-0.json b/operators/ew_unary/rsqrt/rsqrt_19_f32/input-0.json
new file mode 100644
index 000000000..12774fbb7
--- /dev/null
+++ b/operators/ew_unary/rsqrt/rsqrt_19_f32/input-0.json
@@ -0,0 +1,24 @@
+{
+ "type": "float32",
+ "data": [
+ -0.19845624268054962,
+ -0.5168079137802124,
+ 1.7070599794387817,
+ 0.5754604935646057,
+ 1.2910465002059937,
+ -0.22634319961071014,
+ -1.0910451412200928,
+ 0.21833914518356323,
+ -1.7447309494018555,
+ 1.3105247020721436,
+ 0.5266575813293457,
+ 1.032351016998291,
+ -0.5818961262702942,
+ 1.8827921152114868,
+ 1.5724844932556152,
+ 1.1135339736938477,
+ -1.2214452028274536,
+ -0.1331159919500351,
+ -1.8247849941253662
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/rsqrt/rsqrt_19_f32/test.json b/operators/ew_unary/rsqrt/rsqrt_19_f32/test.json
new file mode 100644
index 000000000..e46ea3744
--- /dev/null
+++ b/operators/ew_unary/rsqrt/rsqrt_19_f32/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RSQRT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 19
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 19
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}