From bd1fb717d38f5cc8385bf5772058776f601c9123 Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Thu, 1 Dec 2022 04:12:14 +0530 Subject: [PATCH] Removed duplicate implementation --- .../text_classifier/sources/MPPTextClassifier.mm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm b/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm index 07277874e..08557d94e 100644 --- a/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm +++ b/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm @@ -24,18 +24,6 @@ static NSString *const kTextInStreamName = @"text_in"; static NSString *const kTextTag = @"TEXT"; static NSString *const kTaskGraphName = @"mediapipe.tasks.text.text_classifier.TextClassifierGraph"; -@implementation MPPTextClassifierOptions - -- (instancetype)initWithModelPath:(NSString *)modelPath { - self = [super initWithModelPath:modelPath]; - if (self) { - _classifierOptions = [[MPPClassifierOptions alloc] init]; - } - return self; -} - -@end - @implementation MPPTextClassifier - (instancetype)initWithOptions:(MPPTextClassifierOptions *)options error:(NSError **)error {