Download definitions/simd-loop/loop_029.json from arm-bench/arm-bench-trace: direct link, hf CLI and curl.
- Browser
- Download file 817 Bytes
-
https://huggingface.co/datasets/arm-bench/arm-bench-trace/resolve/main/definitions/simd-loop/loop_029.json
- Command line
-
hf download hf://datasets/arm-bench/arm-bench-trace/definitions/simd-loop/loop_029.json
-
curl -L -o loop_029.json https://huggingface.co/datasets/arm-bench/arm-bench-trace/resolve/main/definitions/simd-loop/loop_029.json
817 Bytes
| { | |
| "name": "loop_029", | |
| "op_type": "loop_029", | |
| "description": "Scale each FP64 element by an integer power of two", | |
| "tags": [ | |
| "simd-loop", | |
| "sme2-kernel:streaming-sve" | |
| ], | |
| "axes": { | |
| "N": { | |
| "type": "var", | |
| "description": "Array length" | |
| } | |
| }, | |
| "inputs": { | |
| "input": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float64" | |
| }, | |
| "scale": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "int64" | |
| } | |
| }, | |
| "outputs": { | |
| "output": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float64", | |
| "description": "Output array" | |
| } | |
| }, | |
| "reference": "import numpy as np\n\ndef run(input, scale):\n return np.ldexp(input, scale.astype(np.int32))\n", | |
| "simd_loop_meta": { | |
| "output_inplace": false, | |
| "array_pad": 0, | |
| "scratch": [] | |
| } | |
| } | |