| { | |
| "name": "loop_028", | |
| "op_type": "loop_028", | |
| "description": "Compute element-wise fast approximate reciprocal division of FP64 arrays", | |
| "tags": [ | |
| "simd-loop" | |
| ], | |
| "axes": { | |
| "N": { | |
| "type": "var", | |
| "description": "Array length" | |
| } | |
| }, | |
| "inputs": { | |
| "input1": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float64" | |
| }, | |
| "input2": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float64" | |
| } | |
| }, | |
| "outputs": { | |
| "output": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "float64", | |
| "description": "Output array" | |
| } | |
| }, | |
| "reference": "import numpy as np\n\ndef run(input1, input2):\n return input1 / input2\n", | |
| "simd_loop_meta": { | |
| "output_inplace": false, | |
| "array_pad": 0, | |
| "scratch": [] | |
| } | |
| } | |