{ "op": "ai.onnx.Upsample", "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, "cases": [ { "name": "nearest-2x-256x256-f32", "attrs": { "mode": "nearest" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 3, 256, 256] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float32", "shape": [1, 3, 512, 512] } }, "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } }, { "name": "linear-2x-256x256-f32", "attrs": { "mode": "linear" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 3, 256, 256] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float32", "shape": [1, 3, 512, 512] } }, "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } }, { "name": "nearest-1point5x-fallback-256x256-f32", "attrs": { "mode": "nearest" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 3, 256, 256] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 1.5, 1.5] } } }, "outputs": { "y": { "dtype": "float32", "shape": [1, 3, 384, 384] } }, "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } }, { "name": "nearest-2x-alignment-cliff-510w-f32", "preset": "smoke", "attrs": { "mode": "nearest" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 3, 256, 255] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float32", "shape": [1, 3, 512, 510] } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } }, { "name": "linear-2x-alignment-cliff-514w-f32", "preset": "smoke", "attrs": { "mode": "linear" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 3, 256, 257] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float32", "shape": [1, 3, 512, 514] } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } }, { "name": "nearest-2x-256x256-f16", "preset": "smoke", "attrs": { "mode": "nearest" }, "inputs": { "x": { "dtype": "float16", "shape": [1, 3, 256, 256] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float16", "shape": [1, 3, 512, 512] } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 2" }] } }, { "name": "linear-2x-256x256-f16", "preset": "smoke", "attrs": { "mode": "linear" }, "inputs": { "x": { "dtype": "float16", "shape": [1, 3, 256, 256] }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float16", "shape": [1, 3, 512, 512] } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 2" }] } }, { "name": "linear-3d-ncdhw-2x-generic-f32", "preset": "stress", "attrs": { "mode": "linear" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 2, 32, 32, 32], "dist": "normal", "seed": 101, "scale": 2 }, "scales": { "dtype": "float32", "shape": [5], "data": { "kind": "values", "values": [1.0, 1.0, 2.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float32", "shape": [1, 2, 64, 64, 64] } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } }, { "name": "linear-rank4-nchw-scaled-generic-16tap-f32", "preset": "stress", "attrs": { "mode": "linear" }, "inputs": { "x": { "dtype": "float32", "shape": [1, 1, 128, 128], "dist": "normal", "seed": 202, "scale": 2 }, "scales": { "dtype": "float32", "shape": [4], "data": { "kind": "values", "values": [2.0, 2.0, 2.0, 2.0] } } }, "outputs": { "y": { "dtype": "float32", "shape": [2, 2, 256, 256] } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } } ] }