msluszniak's picture
Add spec-compliant config.json files
66ebd9a verified
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "lraspp_mobilenet_v3_large",
"family": "lraspp",
"capabilities": [
"semantic-segmentation"
],
"backend": "xnnpack",
"license": "bsd-3-clause",
"variants": [
{
"file": "lraspp_mobilenet_v3_large_xnnpack_fp32.pte",
"precision": "fp32",
"quantized": false,
"default": true,
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
520,
520
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
21,
520,
520
],
"dtype": "float32"
}
]
}
}
},
{
"file": "lraspp_mobilenet_v3_large_xnnpack_int8.pte",
"precision": "int8",
"quantized": true,
"default": true,
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
520,
520
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
21,
520,
520
],
"dtype": "float32"
}
]
}
}
}
]
}