Versions in this module Expand all Collapse all v0 v0.5.1 Mar 30, 2026 v0.5.0 Mar 29, 2026 Changes in this version + func NewFeatureProvider(values map[string]coreml.MLFeatureValue) (coreml.MLDictionaryFeatureProvider, error) — darwin/amd64 + func OutputBackingsDictionary(backings map[string]objectivec.IObject) foundation.NSDictionary — darwin/amd64 + type InputPortBinder struct — darwin/amd64 + func NewInputPortBinder(port, featureDescription objectivec.IObject) InputPortBinder + func (b InputPortBinder) BindMemoryObject(value coreml.MLFeatureValue) error + func (b InputPortBinder) CopyFeatureValue(value coreml.MLFeatureValue) error + func (b InputPortBinder) Raw() privatecoreml.MLE5InputPortBinder + func (b InputPortBinder) Reset() + func (b InputPortBinder) ReusableForFeatureValue(value coreml.MLFeatureValue) (reusable bool, direct bool) + func (b InputPortBinder) SetPixelBufferPool(pool PixelBufferPool) + type Model struct — darwin/amd64 + func Load(path string, cfg *coremlconfig.Config) (*Model, error) + func Wrap(raw coreml.MLModel) *Model + func (m *Model) NewState() coreml.MLState + func (m *Model) NewStateWithClientBuffers(buffers objectivec.IObject) coreml.MLState + func (m *Model) PredictFeatureValues(values map[string]coreml.MLFeatureValue) (*Prediction, error) + func (m *Model) PredictProvider(provider coreml.MLFeatureProvider) (*Prediction, error) + func (m *Model) PredictProviderWithState(provider coreml.MLFeatureProvider, state coreml.IMLState) (*Prediction, error) + func (m *Model) PredictProviderWithStateOptions(provider coreml.MLFeatureProvider, state coreml.IMLState, ...) (*Prediction, error) + func (m *Model) PrepareWithConcurrencyHint(hint int64) + func (m *Model) Raw() coreml.MLModel + func (m *Model) SupportsConcurrentSubmissions() bool + type OutputBackingsVerifier struct — darwin/amd64 + func NewOutputBackingsVerifier(descriptions objectivec.IObject) OutputBackingsVerifier + func (v OutputBackingsVerifier) VerifyOutputBacking(backing, feature objectivec.IObject) error + func (v OutputBackingsVerifier) VerifyOutputBackings(backings foundation.INSDictionary, predictionUsesBatch bool) error + func (v OutputBackingsVerifier) VerifyPixelBufferOutputBacking(backing corevideo.CVImageBufferRef, feature objectivec.IObject) error + type OutputPortBinder struct — darwin/amd64 + func NewOutputPortBinder(port, featureDescription objectivec.IObject) OutputPortBinder + func (b OutputPortBinder) Bind() error + func (b OutputPortBinder) DirectlyBindOutputBacking(backing objectivec.IObject) error + func (b OutputPortBinder) MakeFeatureValue() (coreml.MLFeatureValue, error) + func (b OutputPortBinder) MakeFeatureValueFromOutputBacking(backing objectivec.IObject) (coreml.MLFeatureValue, error) + func (b OutputPortBinder) Raw() privatecoreml.MLE5OutputPortBinder + func (b OutputPortBinder) Reset() + func (b OutputPortBinder) ReusableForOutputBacking(backing objectivec.IObject) (reusable bool, direct bool) + func (b OutputPortBinder) SetOutputBacking(backing objectivec.IObject) + func (b OutputPortBinder) SetPixelBufferPool(pool PixelBufferPool) + type PixelBufferPool struct — darwin/amd64 + func NewPixelBufferPool() PixelBufferPool + func (p PixelBufferPool) Cache() foundation.INSDictionary + func (p PixelBufferPool) CreatePixelBuffer(size corefoundation.CGSize, pixelFormat uint32) (corevideo.CVImageBufferRef, error) + func (p PixelBufferPool) Raw() privatecoreml.MLPixelBufferPool + type Prediction struct — darwin/amd64 + func (p *Prediction) Close() error + func (p *Prediction) FeatureNames() []string + func (p *Prediction) FeatureValue(name string) coreml.MLFeatureValue + func (p *Prediction) MultiArrays() (map[string]coreml.MLMultiArray, error) + func (p *Prediction) Provider() coreml.MLFeatureProviderObject