| { |
| "op": "ai.onnx.BitwiseXor", |
| "cases": [ |
| { |
| "name": "u32_1m", |
| "preset": "smoke", |
| "inputs": { |
| "a": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 305419896 } }, |
| "b": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 252645135 } } |
| }, |
| "outputs": { "c": { "dtype": "uint32", "shape": [1048576] } }, |
| "bench": { |
| "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.a) + numel(shapes.b) + numel(shapes.c)) * 4" }] |
| } |
| }, |
| { |
| "name": "u32_same_shape_odd_numel", |
| "preset": "stress", |
| "inputs": { |
| "a": { "dtype": "uint32", "shape": [16777217], "dist": "uniformBits", "seed": 5 }, |
| "b": { "dtype": "uint32", "shape": [16777217], "dist": "uniformBits", "seed": 6 } |
| }, |
| "outputs": { "c": { "dtype": "uint32", "shape": [16777217], "dist": "empty" } }, |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "16777217 * 4 * 3" }] } |
| } |
| ] |
| } |
|
|