File size: 2,543 Bytes
e17c874
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "op": "ai.onnx.ConstantOfShape",
  "cases": [
    {
      "name": "mask_16m_f32",
      "preset": "smoke",
      "attrs": { "value": -10000 },
      "inputs": { "input": { "dtype": "uint32", "shape": [2], "data": { "kind": "values", "values": [4096, 4096] } } },
      "outputs": { "output": { "dtype": "float32", "shape": [4096, 4096] } },
      "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "4096 * 4096 * 4" }] }
    },
    {
      "name": "1m_f32",
      "attrs": { "value": -10000 },
      "inputs": { "input": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1048576] } } },
      "outputs": { "output": { "dtype": "float32", "shape": [1048576] } }
    },
    {
      "name": "fill_16m_f32_scalar_fallback",
      "attrs": { "value": -10000 },
      "inputs": { "input": { "dtype": "uint32", "shape": [2], "data": { "kind": "values", "values": [4097, 4097] } } },
      "outputs": { "output": { "dtype": "float32", "shape": [4097, 4097] } },
      "vars": { "dtype": "float32", "count": 16785409 },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype)" }] }
    },
    {
      "name": "mask_16m_f16",
      "attrs": { "value": -10000 },
      "inputs": { "input": { "dtype": "uint32", "shape": [2], "data": { "kind": "values", "values": [4096, 4096] } } },
      "outputs": { "output": { "dtype": "float16", "shape": [4096, 4096] } },
      "vars": { "dtype": "float16", "count": 16777216 },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype)" }] }
    },
    {
      "name": "fill_134m_f32_2dfold",
      "attrs": { "value": -10000 },
      "inputs": { "input": { "dtype": "uint32", "shape": [2], "data": { "kind": "values", "values": [16384, 8192] } } },
      "outputs": { "output": { "dtype": "float32", "shape": [16384, 8192] } },
      "vars": { "dtype": "float32", "count": 134217728 },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype)" }] }
    },
    {
      "name": "fill_16m_f16_scalar_fallback",
      "preset": "stress",
      "attrs": { "value": -10000 },
      "inputs": { "input": { "dtype": "uint32", "shape": [2], "data": { "kind": "values", "values": [4097, 4097] } } },
      "outputs": { "output": { "dtype": "float16", "shape": [4097, 4097] } },
      "vars": { "dtype": "float16", "count": 16785409 },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype)" }] }
    }
  ]
}