Platforms to show: All Mac Windows Linux Cross-Platform
MLTaskMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You don’t create use this class directly. Instead, use a class that inherits from this one, such as MLUpdateTaskMBS.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 4 properties
- property Error as NSErrorMBS
- property Handle as Integer
- property State as Integer
- property TaskIdentifier as String
- 3 methods
- method cancel
- method Constructor Private
- method resume
- shared method available as Boolean
- 5 constants
Task States
Constant | Value | Description |
---|---|---|
StateCancelling | 3 |
The state of a machine learning task that’s in mid-termination, before it could finish successfully. |
StateCompleted | 4 |
The state of a machine learning task that has finished successfully. |
StateFailed | 5 |
The state of a machine learning task that has terminated due to an error. |
StateRunning | 2 |
The state of a machine learning task that’s executing. |
StateSuspended | 1 |
The state of a machine learning task that’s paused. |
Sub classes:
Blog Entries
Release notes
- Version 20.0
- Added MLTaskMBS, MLBatchProviderMBS, MLParameterKeyMBS, MLUpdateTaskMBS, MLModelConfigurationMBS, MLArrayBatchProviderMBS, MLUpdateContextMBS, MLMetricKeyMBS, MLMultiArrayShapeConstraintMBS, MLUpdateProgressHandlersMBS, MLParameterDescriptionMBS, MLNumericConstraintMBS, MLKeyMBS, MLImageSizeMBS, MLImageSizeConstraintMBS, MLSequenceConstraintMBS, and MLSequenceMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
MLSequenceMBS - MLUpdateContextMBS