U2NetP-ExecuTorch / xnnpack /config.json
bhanc's picture
Add validated selective XNNPACK INT8 variant
f07a9d0 verified
Raw History Blame Contribute Delete
1.49 kB
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "u2netp",
"family": "u2net",
"capabilities": [
"semantic-segmentation"
],
"backend": "xnnpack",
"license": "apache-2.0",
"variants": [
{
"file": "u2netp_xnnpack_fp32.pte",
"precision": "fp32",
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
320,
320
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
320,
320
],
"dtype": "float32"
}
]
}
},
"size_bytes": 4610948
},
{
"file": "u2netp_xnnpack_int8.pte",
"precision": "int8",
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
320,
320
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
320,
320
],
"dtype": "float32"
}
]
}
},
"size_bytes": 4007684
}
]
}