aboutsummaryrefslogtreecommitdiff
path: root/operators/activation/sigmoid/sigmoid_20_f32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/activation/sigmoid/sigmoid_20_f32')
-rw-r--r--operators/activation/sigmoid/sigmoid_20_f32/Conformance-result-0.json25
-rw-r--r--operators/activation/sigmoid/sigmoid_20_f32/desc.json23
-rw-r--r--operators/activation/sigmoid/sigmoid_20_f32/input-0.json25
-rw-r--r--operators/activation/sigmoid/sigmoid_20_f32/test.json47
4 files changed, 120 insertions, 0 deletions
diff --git a/operators/activation/sigmoid/sigmoid_20_f32/Conformance-result-0.json b/operators/activation/sigmoid/sigmoid_20_f32/Conformance-result-0.json
new file mode 100644
index 000000000..9ffcbcb1b
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_20_f32/Conformance-result-0.json
@@ -0,0 +1,25 @@
+{
+ "type": "float32",
+ "data": [
+ 0.4505481421947479,
+ 0.37359896302223206,
+ 0.8464546203613281,
+ 0.6400221586227417,
+ 0.7843242287635803,
+ 0.4436545670032501,
+ 0.2514215111732483,
+ 0.5543689727783203,
+ 0.14871302247047424,
+ 0.7876008749008179,
+ 0.6287031769752502,
+ 0.7373714447021484,
+ 0.35849639773368835,
+ 0.8679314851760864,
+ 0.8281375169754028,
+ 0.7527874112129211,
+ 0.2276822179555893,
+ 0.4667700231075287,
+ 0.13886070251464844,
+ 0.20055294036865234
+ ]
+} \ No newline at end of file
diff --git a/operators/activation/sigmoid/sigmoid_20_f32/desc.json b/operators/activation/sigmoid/sigmoid_20_f32/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_20_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/activation/sigmoid/sigmoid_20_f32/input-0.json b/operators/activation/sigmoid/sigmoid_20_f32/input-0.json
new file mode 100644
index 000000000..8b339275f
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_20_f32/input-0.json
@@ -0,0 +1,25 @@
+{
+ "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,
+ -1.3828420639038086
+ ]
+} \ No newline at end of file
diff --git a/operators/activation/sigmoid/sigmoid_20_f32/test.json b/operators/activation/sigmoid/sigmoid_20_f32/test.json
new file mode 100644
index 000000000..6e5ae8e36
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_20_f32/test.json
@@ -0,0 +1,47 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}