msluszniak's picture
Add spec-compliant config.json files
02a4326 verified
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "style_transfer_candy",
"family": "style_transfer",
"capabilities": [
"style-transfer"
],
"backend": "xnnpack",
"license": "bsd-3-clause",
"variants": [
{
"file": "style_transfer_candy_xnnpack_fp32.pte",
"precision": "fp32",
"quantized": false,
"default": true,
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
640,
640
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
3,
640,
640
],
"dtype": "float32"
}
]
}
}
},
{
"file": "style_transfer_candy_xnnpack_int8.pte",
"precision": "int8",
"quantized": true,
"default": true,
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
640,
640
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
3,
640,
640
],
"dtype": "float32"
}
]
}
}
}
]
}