diff options
author | Tai Ly <tai.ly@arm.com> | 2023-09-07 20:49:09 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-11-28 16:38:53 -0800 |
commit | 4762564da970eb1883a54aa66582e05c0dbd2b81 (patch) | |
tree | 657e14aa711f1c9e55a5fde15fac3f7f9f77e536 /examples | |
parent | 09ae449db8a45ab7c48af4541b43cb3dc80f9a30 (diff) | |
download | reference_model-4762564da970eb1883a54aa66582e05c0dbd2b81.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 |