Updated comments in MPPTextTaskRunner

This commit is contained in:
Prianka Liz Kariat 2023-01-06 14:55:28 +05:30
parent f6bfaa4586
commit 61a918d449

View File

@ -18,17 +18,19 @@
NS_ASSUME_NONNULL_BEGIN
/**
* This class is used to create and call appropriate methods on the C++ Task Runner to initialize, execute and terminate any MediaPipe text task.
*/
* This class is used to create and call appropriate methods on the C++ Task Runner to initialize,
* execute and terminate any MediaPipe text task.
**/
@interface MPPTextTaskRunner : MPPTaskRunner
/**
* Initializes a new `MPPTextTaskRunner` with the MediaPipe task graph config proto.
* Initializes a new `MPPTextTaskRunner` with the MediaPipe calculator config proto.
*
* @param graphConfig A MediaPipe task graph config proto.
* @param graphConfig A MediaPipe calculator config proto.
*
* @return An instance of `MPPTextTaskRunner` initialized to the given graph config proto.
*/
* @return An instance of `MPPTextTaskRunner` initialized to the given MediaPipe calculator config
* proto.
**/
- (instancetype)initWithCalculatorGraphConfig:(mediapipe::CalculatorGraphConfig)graphConfig
error:(NSError **)error NS_DESIGNATED_INITIALIZER;