Added exception for GPUDelegate
This commit is contained in:
parent
febc4fd283
commit
5484d09341
|
@ -32,9 +32,10 @@ using BaseOptionsProto = ::mediapipe::tasks::core::proto::BaseOptions;
|
||||||
baseOptionsProto->mutable_acceleration()->mutable_tflite();
|
baseOptionsProto->mutable_acceleration()->mutable_tflite();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MPPDelegateGPU:
|
case MPPDelegateGPU: {
|
||||||
// TODO: Provide an implementation for GPU Delegate.
|
// TODO: Provide an implementation for GPU Delegate.
|
||||||
break;
|
[NSException raise:@"Invalid value for delegate" format:@"GPU Delegate is not implemented."];
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user