ArtificialRay
local snapshot before syncing with HF
7502e01
Raw
History Blame Contribute Delete
769 Bytes
{
"name": "loop_035",
"op_type": "loop_035",
"description": "Element-wise addition of two arrays with arbitrary length (non-multiple-of-vector-width)",
"tags": [
"simd-loop"
],
"axes": {
"N": {
"type": "var",
"description": "Array length"
}
},
"inputs": {
"a": {
"shape": [
"N"
],
"dtype": "float32"
},
"b": {
"shape": [
"N"
],
"dtype": "float32"
}
},
"outputs": {
"c": {
"shape": [
"N"
],
"dtype": "float32",
"description": "Output array"
}
},
"reference": "import numpy as np\n\ndef run(a, b):\n return a + b\n",
"simd_loop_meta": {
"output_inplace": false,
"array_pad": 0,
"scratch": []
}
}