msluszniak commited on
Commit
d34c823
·
verified ·
1 Parent(s): 1699485

Add backend config (ExecuTorch 1.4.1)

Browse files
Files changed (1) hide show
  1. coreml/config.json +76 -0
coreml/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "lraspp_mobilenet_v3_large",
4
+ "family": "lraspp",
5
+ "capabilities": [
6
+ "semantic-segmentation"
7
+ ],
8
+ "backend": "coreml",
9
+ "license": "bsd-3-clause",
10
+ "variants": [
11
+ {
12
+ "file": "lraspp_mobilenet_v3_large_coreml_fp16.pte",
13
+ "precision": "fp16",
14
+ "quantized": false,
15
+ "default": true,
16
+ "methods": {
17
+ "forward": {
18
+ "inputs": [
19
+ {
20
+ "shape": [
21
+ 1,
22
+ 3,
23
+ 520,
24
+ 520
25
+ ],
26
+ "dtype": "float32"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 1,
33
+ 21,
34
+ 520,
35
+ 520
36
+ ],
37
+ "dtype": "float32"
38
+ }
39
+ ]
40
+ }
41
+ }
42
+ },
43
+ {
44
+ "file": "lraspp_mobilenet_v3_large_coreml_fp32.pte",
45
+ "precision": "fp32",
46
+ "quantized": false,
47
+ "default": false,
48
+ "methods": {
49
+ "forward": {
50
+ "inputs": [
51
+ {
52
+ "shape": [
53
+ 1,
54
+ 3,
55
+ 520,
56
+ 520
57
+ ],
58
+ "dtype": "float32"
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "shape": [
64
+ 1,
65
+ 21,
66
+ 520,
67
+ 520
68
+ ],
69
+ "dtype": "float32"
70
+ }
71
+ ]
72
+ }
73
+ }
74
+ }
75
+ ]
76
+ }