diff options
author | Richard Burton <richard.burton@arm.com> | 2020-04-08 16:39:05 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-04-10 16:11:09 +0000 |
commit | dc0c6ed9f8b993e63f492f203d7d7080ab4c835c (patch) | |
tree | ea8541990b13ebf1a038009aa6b8b4b1ea8c3f55 /python/pyarmnn/test/testdata/shared/mock_profile_out.json | |
parent | fe5a24beeef6e9a41366e694f41093565e748048 (diff) | |
download | armnn-dc0c6ed9f8b993e63f492f203d7d7080ab4c835c.tar.gz |
Add PyArmNN to work with ArmNN API of 20.02
* Add Swig rules for generating python wrapper
* Add documentation
* Add tests and testing data
Change-Id: If48eda08931514fa21e72214dfead2835f07237c
Signed-off-by: Richard Burton <richard.burton@arm.com>
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'python/pyarmnn/test/testdata/shared/mock_profile_out.json')
-rw-r--r-- | python/pyarmnn/test/testdata/shared/mock_profile_out.json | 216 |
1 files changed, 216 insertions, 0 deletions
diff --git a/python/pyarmnn/test/testdata/shared/mock_profile_out.json b/python/pyarmnn/test/testdata/shared/mock_profile_out.json new file mode 100644 index 0000000000..8e1056160b --- /dev/null +++ b/python/pyarmnn/test/testdata/shared/mock_profile_out.json @@ -0,0 +1,216 @@ +{ + "ArmNN": { + "inference_measurements_#1": { + "type": "Event", + "Wall clock time_#1": { + "type": "Measurement", + "raw": [ + 1.1, + 2.2, + 3.3, + 4.4, + 5.5, + 6.6 + ], + "unit": "us" + }, + + "Execute_#2": { + "type": "Event", + "Wall clock time_#2": { + "type": "Measurement", + "raw": [ + 1.1, + 2.2, + 3.3, + 4.4, + 5.5, + 6.6 + ], + "unit": "us" + }, + "Wall clock time (Start)_#2": { + "type": "Measurement", + "raw": [ + 1, + 1, + 1, + 1, + 1, + 1 + ], + "unit": "us" + }, + "Wall clock time (Stop)_#2": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + + "RefSomeMock1dWorkload_Execute_#5": { + "type": "Event", + "Wall clock time_#5": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Start)_#5": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Stop)_#5": { + "type": "Measurement", + "raw": [ + 4, + 4, + 4, + 4, + 4, + 4 + ], + "unit": "us" + } + }, + "NeonSomeMock2Workload_Execute_#6": { + "type": "Event", + "Wall clock time_#6": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Start)_#6": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Stop)_#6": { + "type": "Measurement", + "raw": [ + 4, + 4, + 4, + 4, + 4, + 4 + ], + "unit": "us" + } + }, + "ClSomeMock3dWorkload_Execute_#7": { + "type": "Event", + "Wall clock time_#7": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Start)_#7": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Stop)_#7": { + "type": "Measurement", + "raw": [ + 4, + 4, + 4, + 4, + 4, + 4 + ], + "unit": "us" + } + }, + "EthosNSomeMock4dWorkload_Execute_#8": { + "type": "Event", + "Wall clock time_#8": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Start)_#8": { + "type": "Measurement", + "raw": [ + 2, + 2, + 2, + 2, + 2, + 2 + ], + "unit": "us" + }, + "Wall clock time (Stop)_#8": { + "type": "Measurement", + "raw": [ + 4, + 4, + 4, + 4, + 4, + 4 + ], + "unit": "us" + } + } + } + } + } +} |