Download definitions/simd-loop/loop_121.json from arm-bench/arm-bench-trace: direct link, hf CLI and curl.
- Browser
- Download file 762 Bytes
-
https://huggingface.co/datasets/arm-bench/arm-bench-trace/resolve/main/definitions/simd-loop/loop_121.json
- Command line
-
hf download hf://datasets/arm-bench/arm-bench-trace/definitions/simd-loop/loop_121.json
-
curl -L -o loop_121.json https://huggingface.co/datasets/arm-bench/arm-bench-trace/resolve/main/definitions/simd-loop/loop_121.json
762 Bytes
| { | |
| "name": "loop_121", | |
| "op_type": "loop_121", | |
| "description": "Partition an integer array around a pivot (one pass of quicksort)", | |
| "tags": [ | |
| "simd-loop" | |
| ], | |
| "axes": { | |
| "N": { | |
| "type": "var", | |
| "description": "Array length" | |
| } | |
| }, | |
| "inputs": { | |
| "data": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "int32" | |
| } | |
| }, | |
| "outputs": { | |
| "sorted_data": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "int32", | |
| "description": "Sorted array (in-place)" | |
| } | |
| }, | |
| "reference": "import numpy as np\n\ndef run(data):\n return np.sort(data)\n", | |
| "simd_loop_meta": { | |
| "output_inplace": true, | |
| "array_pad": 0, | |
| "scratch": [ | |
| { | |
| "name": "temp", | |
| "dtype": "int32" | |
| } | |
| ] | |
| } | |
| } | |