| { |
| "op": "ai.onnx.Softplus", |
| "cases": [ |
| { |
| "name": "1m_f32", |
| "inputs": { "x": { "dtype": "float32", "shape": [1048576] } }, |
| "outputs": { "y": { "dtype": "float32", "shape": [1048576] } } |
| }, |
| { |
| "name": "softplus-f16-1m", |
| "preset": "smoke", |
| "vars": { "dtype": "float16", "count": 1048576 }, |
| "inputs": { "x": { "shape": [1048576], "dtype": "float16", "dist": "normal", "seed": 7041, "scale": 1 } }, |
| "outputs": { "y": { "shape": [1048576], "dtype": "float16" } }, |
| "bench": { |
| "primary": true, |
| "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] |
| } |
| }, |
| { |
| "name": "softplus-f32-1m-plus3", |
| "preset": "smoke", |
| "vars": { "dtype": "float32", "count": 1048579 }, |
| "inputs": { "x": { "shape": [1048579], "dtype": "float32", "dist": "normal", "seed": 7042, "scale": 1 } }, |
| "outputs": { "y": { "shape": [1048579], "dtype": "float32" } }, |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } |
| } |
| ] |
| } |
|
|