MLModelConfigurationMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
MLModelConfigurationMBS class
The settings for creating or updating a machine learning model.
Available in MacOS 10.14 or newer.
- 5 properties
- 2 methods
- shared method available as Boolean
- 3 constants
Compute Units
Constant |
Value |
Description |
ComputeUnitsAll
|
2 |
The option you choose to allow the model to use all compute units available, including the neural engine.
|
ComputeUnitsCPUAndGPU
|
1 |
The option you choose to allow the model to use both the CPU and GPU, but not the neural engine.
|
ComputeUnitsCPUOnly
|
0 |
The option you choose to limit the model to only use the CPU.
|
This class has no sub classes.
Some methods using this class:
- MLModelMBS.modelWithContentsOfFile(file as FolderItem, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS) as MLModelMBS
- MLModelMBS.modelWithContentsOfPath(Path as string, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS) as MLModelMBS
- MLModelMBS.modelWithContentsOfURL(URL as string, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS) as MLModelMBS
- MLUpdateTaskMBS.Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS)
- MLUpdateTaskMBS.Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, progressHandlers as MLUpdateProgressHandlersMBS, byref error as NSErrorMBS)
Some properties using for this class:
Some examples using this class:
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.
MLMetricKeyMBS
-
MLModelDescriptionMBS