| { | |
| "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json", | |
| "model": "rfdetr_nano", | |
| "family": "rfdetr", | |
| "capabilities": [ | |
| "object-detection", | |
| "instance-segmentation" | |
| ], | |
| "backend": "coreml", | |
| "license": "apache-2.0", | |
| "variants": [ | |
| { | |
| "file": "rfdetr_nano_coreml_int8.pte", | |
| "precision": "int8", | |
| "quantized": true, | |
| "default": true, | |
| "methods": { | |
| "forward": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 3, | |
| 312, | |
| 312 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 100, | |
| 4 | |
| ], | |
| "dtype": "float32" | |
| }, | |
| { | |
| "shape": [ | |
| 1, | |
| 100, | |
| 2 | |
| ], | |
| "dtype": "float32" | |
| }, | |
| { | |
| "shape": [ | |
| 1, | |
| 100, | |
| 78, | |
| 78 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| } | |