[tflite] bump SPLIT op ver from 1 to 3 in NNAPI delegate
I need SPLIT op version 3. Since it's supported by TFLite and NNAPI 1.2. It's should be safe to bump the op version so that I can delegate SPLIT ops to accelerators.
This commit is contained in:
parent
5aa0256315
commit
ae2e9865a1
@ -2023,7 +2023,7 @@ bool NNAPIDelegateKernel::Validate(
|
||||
"NNAPI only supports constant int32 axis tensor.", &val_ctx);
|
||||
} break;
|
||||
case kTfLiteBuiltinSplit: {
|
||||
ExpectOpVersion(version, 1, &val_ctx);
|
||||
ExpectOpVersion(version, 3, &val_ctx);
|
||||
ExpectMinAndroidSdkVersion(android_sdk_version, kMinSdkVersionForNNAPI12,
|
||||
&val_ctx);
|
||||
// Tensor indices: split_dim: 0, value: 1
|
||||
|
Loading…
Reference in New Issue
Block a user