CoreMlDelegateOptions class

CoreMlDelegate Options Options for a delegate that is not deprecated; see the delegate class for why, and prefer PerformanceConfig unless you need this level of control.

Constructors

CoreMlDelegateOptions({int enabledDevices = TfLiteCoreMlDelegateEnabledDevices.TfLiteCoreMlDelegateDevicesWithNeuralEngine, int coremlVersion = 0, int maxDelegatedPartitions = 0, int minNodesPerPartition = 2})
Creates CoreML delegate options.
factory

Properties

base Pointer<TfLiteCoreMlDelegateOptions>
Pointer to the underlying native options struct.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete() → void
Releases native resources for these options.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited