aboutsummaryrefslogtreecommitdiff
path: root/examples/test_stateful_op
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test_stateful_op')
-rw-r--r--examples/test_stateful_op/desc.json16
-rw-r--r--examples/test_stateful_op/placeholder_0.npybin0 -> 132 bytes
-rw-r--r--examples/test_stateful_op/test_variable_add.tosabin0 -> 616 bytes
-rw-r--r--examples/test_stateful_op/variable_0.npybin0 -> 132 bytes
4 files changed, 16 insertions, 0 deletions
diff --git a/examples/test_stateful_op/desc.json b/examples/test_stateful_op/desc.json
new file mode 100644
index 0000000..1f1459f
--- /dev/null
+++ b/examples/test_stateful_op/desc.json
@@ -0,0 +1,16 @@
+{
+ "tosa_file": "test_variable_add.tosa",
+ "ifm_name": [
+ "TosaInput_0"
+ ],
+ "ifm_file": [
+ "placeholder_0.npy"
+ ],
+ "variable_name": [
+ "Variable_0"
+ ],
+ "variable_file": [
+ "variable_0.npy"
+ ],
+ "expected_failure": false
+} \ No newline at end of file
diff --git a/examples/test_stateful_op/placeholder_0.npy b/examples/test_stateful_op/placeholder_0.npy
new file mode 100644
index 0000000..f9688e6
--- /dev/null
+++ b/examples/test_stateful_op/placeholder_0.npy
Binary files differ
diff --git a/examples/test_stateful_op/test_variable_add.tosa b/examples/test_stateful_op/test_variable_add.tosa
new file mode 100644
index 0000000..2be3044
--- /dev/null
+++ b/examples/test_stateful_op/test_variable_add.tosa
Binary files differ
diff --git a/examples/test_stateful_op/variable_0.npy b/examples/test_stateful_op/variable_0.npy
new file mode 100644
index 0000000..c183a15
--- /dev/null
+++ b/examples/test_stateful_op/variable_0.npy
Binary files differ