diff options
author | Tai Ly <tai.ly@arm.com> | 2023-09-07 20:49:09 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-09-15 18:10:01 +0000 |
commit | cf84bc9cccbd5dc2fceae1a81c579e41be3c9a06 (patch) | |
tree | aff6bab02c36c095a62381ac8f68d185bdccbe73 /examples | |
parent | 00f55bf46fe36bebe44e1365becbeb1e0d9e90c9 (diff) | |
download | reference_model-cf84bc9cccbd5dc2fceae1a81c579e41be3c9a06.tar.gz |
[reference_model] Support StatefulOps and the tests for CallOnceOp
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I03cb878736ccd7e1f5e1f780d7171949a19a9de2
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test_stateful_op/desc.json | 16 | ||||
-rw-r--r-- | examples/test_stateful_op/placeholder_0.npy | bin | 0 -> 132 bytes | |||
-rw-r--r-- | examples/test_stateful_op/test_variable_add.tosa | bin | 0 -> 616 bytes | |||
-rw-r--r-- | examples/test_stateful_op/variable_0.npy | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..f9688e6 --- /dev/null +++ b/examples/test_stateful_op/placeholder_0.npy diff --git a/examples/test_stateful_op/test_variable_add.tosa b/examples/test_stateful_op/test_variable_add.tosa Binary files differnew file mode 100644 index 0000000..2be3044 --- /dev/null +++ b/examples/test_stateful_op/test_variable_add.tosa diff --git a/examples/test_stateful_op/variable_0.npy b/examples/test_stateful_op/variable_0.npy Binary files differnew file mode 100644 index 0000000..c183a15 --- /dev/null +++ b/examples/test_stateful_op/variable_0.npy |