MLKEntityExtractionRemoteModel
@interface MLKEntityExtractionRemoteModel : MLKRemoteModelサーバーにリモートで保存され、デバイスにダウンロードされるエンティティ抽出モデル。
-
このモデルのモデル ID。
宣言
Objective-C
@property (nonatomic, readonly) MLKEntityExtractionModelIdentifier _Nonnull modelIdentifier; -
指定されたモデル ID で構成された
EntityExtractorRemoteModelのインスタンスを取得します。 このモデルを使用して、download(_:)API を呼び出すことでダウンロードをトリガーできます。ModelManagerから。EntityExtractorRemoteModelは内部でModelManagerを使用します。ダウンロード時EntityExtractorRemoteModelの場合、RemoteModelに関する通知が投稿されます。 このような通知がEntityExtractorRemoteModelに属しているかどうかを確認するには、 ユーザー情報辞書のModelDownloadUserInfoKeyRemoteModelフィールドにオブジェクトが含まれていますEntityExtractorRemoteModel型。宣言
Objective-C
+ (nonnull MLKEntityExtractionRemoteModel *) entityExtractorRemoteModelWithIdentifier: (nonnull MLKEntityExtractionModelIdentifier)modelIdentifier;パラメータ
modelIdentifierモデルのモデル ID。
戻り値
EntityExtractorRemoteModelインスタンス。 -
使用不可
宣言
Objective-C
- (nonnull instancetype)init;