| { |
| "op": "ai.onnx.DepthToSpace", |
| "cases": [ |
| { |
| "name": "nchw_1x256x64x64", |
| "attrs": { "blocksize": 2, "mode": "DCR" }, |
| "inputs": { "input": { "dtype": "float32", "shape": [1, 256, 64, 64] } }, |
| "outputs": { "output": { "dtype": "float32", "shape": [1, 64, 128, 128] } } |
| }, |
| { |
| "name": "nchw_1x256x64x64_crd", |
| "attrs": { "blocksize": 2, "mode": "CRD" }, |
| "inputs": { "input": { "dtype": "float32", "shape": [1, 256, 64, 64] } }, |
| "outputs": { "output": { "dtype": "float32", "shape": [1, 64, 128, 128] } } |
| }, |
| { |
| "name": "depthtospace-f16-1x256x64x64", |
| "preset": "smoke", |
| "attrs": { "blocksize": 2, "mode": "DCR" }, |
| "vars": { "dtype": "float16", "count": 1048576 }, |
| "inputs": { "input": { "dtype": "float16", "shape": [1, 256, 64, 64] } }, |
| "outputs": { "output": { "dtype": "float16", "shape": [1, 64, 128, 128] } }, |
| "bench": { |
| "primary": true, |
| "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] |
| } |
| }, |
| { |
| "name": "depthtospace-dispatch-cliff-scalar-f32", |
| "attrs": { "blocksize": 2, "mode": "DCR" }, |
| "vars": { "dtype": "float32", "count": 16785408 }, |
| "inputs": { "input": { "dtype": "float32", "shape": [1, 4, 2048, 2049] } }, |
| "outputs": { "output": { "dtype": "float32", "shape": [1, 1, 4096, 4098] } }, |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } |
| }, |
| { |
| "name": "depthtospace-crd-1x256x64x64-f32", |
| "attrs": { "blocksize": 2, "mode": "CRD" }, |
| "vars": { "dtype": "float32", "count": 1048576 }, |
| "inputs": { "input": { "dtype": "float32", "shape": [1, 256, 64, 64] } }, |
| "outputs": { "output": { "dtype": "float32", "shape": [1, 64, 128, 128] } }, |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } |
| }, |
| { |
| "name": "blocksize3_scalar_path_large_dcr", |
| "preset": "stress", |
| "attrs": { "blocksize": 3, "mode": "DCR" }, |
| "inputs": { |
| "input": { "dtype": "float32", "shape": [1, 9, 2048, 682], "dist": "normal", "seed": 421, "scale": 1 } |
| }, |
| "outputs": { "output": { "dtype": "float32", "shape": [1, 1, 6144, 2046] } }, |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "12570624 * 4 * 2" }] } |
| }, |
| { |
| "name": "blocksize3-odd-width-f32-b1c576-171x129-super-resolution", |
| "preset": "stress", |
| "attrs": { "blocksize": 3, "mode": "DCR" }, |
| "vars": { "dtype": "float32", "count": 12707712 }, |
| "inputs": { |
| "input": { "dtype": "float32", "shape": [1, 576, 171, 129], "dist": "normal", "seed": 422, "scale": 1 } |
| }, |
| "outputs": { "output": { "dtype": "float32", "shape": [1, 64, 513, 387] } }, |
| "bench": { |
| "primary": true, |
| "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] |
| } |
| } |
| ] |
| } |
|
|