ai.onnx.Not / build /webgpu /bench.json
Xenova's picture
Xenova HF Staff
sync 2e7068faf55e
649b922 verified
Raw
History Blame
1.03 kB
{
"op": "ai.onnx.Not",
"cases": [
{
"name": "1m_bool",
"inputs": { "x": { "dtype": "bool", "shape": [1048576] } },
"outputs": { "y": { "dtype": "bool", "shape": [1048576] } }
},
{
"name": "not-bool-8m-vec4",
"preset": "smoke",
"vars": { "count": 8388608 },
"inputs": { "x": { "shape": [8388608], "dtype": "bool", "dist": "randint", "seed": 7022, "min": 0, "max": 1 } },
"outputs": { "y": { "shape": [8388608], "dtype": "bool", "dist": "empty" } },
"bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "args.count * 4 * 2" }] }
},
{
"name": "not-bool-scalar-1m",
"preset": "edge",
"vars": { "count": 1048575 },
"inputs": { "x": { "shape": [1048575], "dtype": "bool", "dist": "randint", "seed": 7024, "min": 0, "max": 1 } },
"outputs": { "y": { "shape": [1048575], "dtype": "bool", "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * 4 * 2" }] }
}
]
}