msluszniak commited on
Commit
a0c7153
·
verified ·
1 Parent(s): f48a580

Add spec-compliant config.json files

Browse files
Files changed (2) hide show
  1. coreml/config.json +37 -1
  2. xnnpack/config.json +37 -1
coreml/config.json CHANGED
@@ -13,7 +13,43 @@
13
  "file": "rfdetr_nano_coreml_int8.pte",
14
  "precision": "int8",
15
  "quantized": true,
16
- "default": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
  ]
19
  }
 
13
  "file": "rfdetr_nano_coreml_int8.pte",
14
  "precision": "int8",
15
  "quantized": true,
16
+ "default": true,
17
+ "methods": {
18
+ "forward": {
19
+ "inputs": [
20
+ {
21
+ "shape": [
22
+ 1,
23
+ 3,
24
+ 384,
25
+ 384
26
+ ],
27
+ "dtype": "float32"
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "shape": [
33
+ 300,
34
+ 4
35
+ ],
36
+ "dtype": "float32"
37
+ },
38
+ {
39
+ "shape": [
40
+ 300
41
+ ],
42
+ "dtype": "float32"
43
+ },
44
+ {
45
+ "shape": [
46
+ 300
47
+ ],
48
+ "dtype": "float32"
49
+ }
50
+ ]
51
+ }
52
+ }
53
  }
54
  ]
55
  }
xnnpack/config.json CHANGED
@@ -13,7 +13,43 @@
13
  "file": "rfdetr_nano_xnnpack_fp32.pte",
14
  "precision": "fp32",
15
  "quantized": false,
16
- "default": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
  ]
19
  }
 
13
  "file": "rfdetr_nano_xnnpack_fp32.pte",
14
  "precision": "fp32",
15
  "quantized": false,
16
+ "default": true,
17
+ "methods": {
18
+ "forward": {
19
+ "inputs": [
20
+ {
21
+ "shape": [
22
+ 1,
23
+ 3,
24
+ 384,
25
+ 384
26
+ ],
27
+ "dtype": "float32"
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "shape": [
33
+ 300,
34
+ 4
35
+ ],
36
+ "dtype": "float32"
37
+ },
38
+ {
39
+ "shape": [
40
+ 300
41
+ ],
42
+ "dtype": "float32"
43
+ },
44
+ {
45
+ "shape": [
46
+ 300
47
+ ],
48
+ "dtype": "float32"
49
+ }
50
+ ]
51
+ }
52
+ }
53
  }
54
  ]
55
  }