Download definitions/simd-loop/loop_001.json from arm-bench/arm-bench-trace: direct link, hf CLI and curl.
- Browser
- Download file 815 Bytes
-
https://huggingface.co/datasets/arm-bench/arm-bench-trace/resolve/main/definitions/simd-loop/loop_001.json
- Command line
-
hf download hf://datasets/arm-bench/arm-bench-trace/definitions/simd-loop/loop_001.json
-
curl -L -o loop_001.json https://huggingface.co/datasets/arm-bench/arm-bench-trace/resolve/main/definitions/simd-loop/loop_001.json
815 Bytes
| { | |
| "name": "loop_001", | |
| "op_type": "loop_001", | |
| "description": "Compute the FP32 dot product of two float arrays", | |
| "tags": [ | |
| "simd-loop", | |
| "sme2-kernel:streaming-sve" | |
| ], | |
| "axes": { | |
| "N": { | |
| "type": "var", | |
| "description": "Array length" | |
| } | |
| }, | |
| "inputs": { | |
| "a": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float32" | |
| }, | |
| "b": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float32" | |
| } | |
| }, | |
| "outputs": { | |
| "res": { | |
| "shape": null, | |
| "dtype": "float32", | |
| "description": "Scalar result" | |
| } | |
| }, | |
| "reference": "import numpy as np\n\ndef run(a, b):\n return np.float32(\n np.dot(a.astype(np.float64), b.astype(np.float64)))\n", | |
| "simd_loop_meta": { | |
| "output_inplace": false, | |
| "array_pad": 0, | |
| "scratch": [] | |
| } | |
| } | |