Share via


MLCustomModel_Extensions Class

Definition

Extension methods to the IMLCustomModel interface to support all the methods from the MLCustomModel protocol.

public static class MLCustomModel_Extensions
type MLCustomModel_Extensions = class
Inheritance
MLCustomModel_Extensions

Remarks

The extension methods for IMLCustomModel interface allow developers to treat instances of the interface as having all the optional methods of the original MLCustomModel protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
GetPredictions(IMLCustomModel, IMLBatchProvider, MLPredictionOptions, NSError)

Gets the set of predictions for inputBatch, applying options to each input.

Applies to