File size: 2,999 Bytes
1ff7f06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | {
"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" }]
}
}
]
}
|