IMLCustomModel Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface defining a custom CoreML model.
[Foundation.Protocol(Name="MLCustomModel", WrapperType=typeof(CoreML.MLCustomModelWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMLCustomModel : IDisposable, ObjCRuntime.INativeObject
type IMLCustomModel = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Get |
Returns the model's prediction for , given the . |
Get |
Returns the IMLBatchProvider that describes the outputs of the model given and . |