bhanc commited on
Commit
134d3b9
·
1 Parent(s): 3dc035e

Add config.json

Browse files
Files changed (1) hide show
  1. xnnpack/config.json +45 -0
xnnpack/config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "blazeface",
4
+ "family": "blazeface",
5
+ "capabilities": [
6
+ "object-detection"
7
+ ],
8
+ "backend": "xnnpack",
9
+ "license": "Apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "blazeface_xnnpack_fp32.pte",
13
+ "precision": "fp32",
14
+ "quantized": false,
15
+ "default": true,
16
+ "methods": {
17
+ "forward": {
18
+ "inputs": [
19
+ {
20
+ "shape": [1, 3, 256, 256],
21
+ "dtype": "float32"
22
+ }
23
+ ],
24
+ "outputs": [
25
+ {
26
+ "name": "boxes",
27
+ "shape": [896, 4],
28
+ "dtype": "float32"
29
+ },
30
+ {
31
+ "name": "scores",
32
+ "shape": [896],
33
+ "dtype": "float32"
34
+ },
35
+ {
36
+ "name": "keypoints",
37
+ "shape": [896, 6, 3],
38
+ "dtype": "float32"
39
+ }
40
+ ]
41
+ }
42
+ }
43
+ }
44
+ ]
45
+ }