From a512e6b5f511bc56653543a2a03bb2515dbf92cf Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Fri, 3 Feb 2023 12:49:00 +0530 Subject: [PATCH] Updated MPPTextEmbedder Documentation --- mediapipe/tasks/ios/text/text_embedder/sources/MPPTextEmbedder.h | 1 - 1 file changed, 1 deletion(-) diff --git a/mediapipe/tasks/ios/text/text_embedder/sources/MPPTextEmbedder.h b/mediapipe/tasks/ios/text/text_embedder/sources/MPPTextEmbedder.h index 61a7dd4d2..f60e88ba4 100644 --- a/mediapipe/tasks/ios/text/text_embedder/sources/MPPTextEmbedder.h +++ b/mediapipe/tasks/ios/text/text_embedder/sources/MPPTextEmbedder.h @@ -102,7 +102,6 @@ NS_SWIFT_NAME(TextEmbedder) + (nullable NSNumber *)cosineSimilarityBetweenEmbedding1:(MPPEmbedding *)embedding1 andEmbedding2:(MPPEmbedding *)embedding2 error:(NSError **)error NS_SWIFT_NAME(cosineSimilarity(embedding1:embedding2:)); - // NS_SWIFT_NAME(cosineSimilarity(embedding1: embedding2:)); + (instancetype)new NS_UNAVAILABLE;