appleneuralengine

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package appleneuralengine provides Go bindings for the appleneuralengine framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFAOTCacheUrlIdentifierKey
	KANEFAOTCacheUrlIdentifierKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFBaseModelIdentifierKey
	KANEFBaseModelIdentifierKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFCompilationInitiatedByE5MLKey
	KANEFCompilationInitiatedByE5MLKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFCompilerOptionsFilenameKey
	KANEFCompilerOptionsFilenameKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFConstantSurfaceAlignmentKey
	KANEFConstantSurfaceAlignmentKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFConstantSurfaceIDKey
	KANEFConstantSurfaceIDKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFDisableIOFencesUseSharedEventsKey
	KANEFDisableIOFencesUseSharedEventsKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFEnableFWToFWSignal
	KANEFEnableFWToFWSignal objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFEnableLateLatchKey
	KANEFEnableLateLatchKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFEnablePowerSavingKey
	KANEFEnablePowerSavingKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFEspressoFileResourcesKey
	KANEFEspressoFileResourcesKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintEnergyEfficientWorkloadKey
	KANEFHintEnergyEfficientWorkloadKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintReportResidentPagesKey
	KANEFHintReportResidentPagesKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintReportSessionStatusKey
	KANEFHintReportSessionStatusKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintReportTotalPagesKey
	KANEFHintReportTotalPagesKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintSessionAbort
	KANEFHintSessionAbort objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintSessionInfo
	KANEFHintSessionInfo objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintSessionStart
	KANEFHintSessionStart objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFHintSessionStop
	KANEFHintSessionStop objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFInMemoryModelIdentifierKey
	KANEFInMemoryModelIdentifierKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFInMemoryModelIsCachedKey
	KANEFInMemoryModelIsCachedKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFIntermediateBufferHandleKey
	KANEFIntermediateBufferHandleKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFKeepModelMemoryWiredKey
	KANEFKeepModelMemoryWiredKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFMemoryPoolIDKey
	KANEFMemoryPoolIDKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelANECIRValue
	KANEFModelANECIRValue objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelCacheIdentifierUsingSourceURLKey
	KANEFModelCacheIdentifierUsingSourceURLKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelCoreMLValue
	KANEFModelCoreMLValue objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelDescriptionKey
	KANEFModelDescriptionKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelHasCacheURLIdentifierKey
	KANEFModelHasCacheURLIdentifierKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelIdentityStrKey
	KANEFModelIdentityStrKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelInput16KAlignmentArrayKey
	KANEFModelInput16KAlignmentArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelInputSymbolIndexArrayKey
	KANEFModelInputSymbolIndexArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelInputSymbolsArrayKey
	KANEFModelInputSymbolsArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelInstanceParameters
	KANEFModelInstanceParameters objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelIsEncryptedKey
	KANEFModelIsEncryptedKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelLLIRBundleValue
	KANEFModelLLIRBundleValue objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelLoadPerformanceStatsKey
	KANEFModelLoadPerformanceStatsKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelMILValue
	KANEFModelMILValue objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelMLIRValue
	KANEFModelMLIRValue objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelOutput16KAlignmentArrayKey
	KANEFModelOutput16KAlignmentArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelOutputSymbolIndexArrayKey
	KANEFModelOutputSymbolIndexArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelOutputSymbolsArrayKey
	KANEFModelOutputSymbolsArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelPreCompiledValue
	KANEFModelPreCompiledValue objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelProcedureIDKey
	KANEFModelProcedureIDKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelProcedureNameToIDMapKey
	KANEFModelProcedureNameToIDMapKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelProcedureNameToStatsSizeMapKey
	KANEFModelProcedureNameToStatsSizeMapKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelProceduresArrayKey
	KANEFModelProceduresArrayKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFModelTypeKey
	KANEFModelTypeKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFNetPlistFilenameKey
	KANEFNetPlistFilenameKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFPerformanceStatsMaskKey
	KANEFPerformanceStatsMaskKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFRetainModelsWithoutSourceURLKey
	KANEFRetainModelsWithoutSourceURLKey objectivec.Object
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/kANEFSkipPreparePhaseKey
	KANEFSkipPreparePhaseKey objectivec.Object
)

Functions

func NewBoolErrorBlock

func NewBoolErrorBlock(handler BoolErrorHandler) (objc.ID, func())

NewBoolErrorBlock wraps a Go BoolErrorHandler as an Objective-C block. The caller must defer the returned cleanup function.

Used by:

Types

type ANEAnalyticsGroup

type ANEAnalyticsGroup struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsGroup

func ANEAnalyticsGroupFromID

func ANEAnalyticsGroupFromID(id objc.ID) ANEAnalyticsGroup

ANEAnalyticsGroupFromID constructs a ANEAnalyticsGroup from an objc.ID.

func NewANEAnalyticsGroup

func NewANEAnalyticsGroup() ANEAnalyticsGroup

NewANEAnalyticsGroup creates a new ANEAnalyticsGroup instance.

func (ANEAnalyticsGroup) Autorelease

func (a ANEAnalyticsGroup) Autorelease() ANEAnalyticsGroup

Autorelease adds the receiver to the current autorelease pool.

func (ANEAnalyticsGroup) Init

Init initializes the instance.

type ANEAnalyticsGroupClass

type ANEAnalyticsGroupClass struct {
	// contains filtered or unexported fields
}

func GetANEAnalyticsGroupClass

func GetANEAnalyticsGroupClass() ANEAnalyticsGroupClass

GetANEAnalyticsGroupClass returns the class object for _ANEAnalyticsGroup.

func (ANEAnalyticsGroupClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEAnalyticsLayer

type ANEAnalyticsLayer struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsLayer

func ANEAnalyticsLayerFromID

func ANEAnalyticsLayerFromID(id objc.ID) ANEAnalyticsLayer

ANEAnalyticsLayerFromID constructs a ANEAnalyticsLayer from an objc.ID.

func NewANEAnalyticsLayer

func NewANEAnalyticsLayer() ANEAnalyticsLayer

NewANEAnalyticsLayer creates a new ANEAnalyticsLayer instance.

func (ANEAnalyticsLayer) Autorelease

func (a ANEAnalyticsLayer) Autorelease() ANEAnalyticsLayer

Autorelease adds the receiver to the current autorelease pool.

func (ANEAnalyticsLayer) Init

Init initializes the instance.

type ANEAnalyticsLayerClass

type ANEAnalyticsLayerClass struct {
	// contains filtered or unexported fields
}

func GetANEAnalyticsLayerClass

func GetANEAnalyticsLayerClass() ANEAnalyticsLayerClass

GetANEAnalyticsLayerClass returns the class object for _ANEAnalyticsLayer.

func (ANEAnalyticsLayerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEAnalyticsProcedure

type ANEAnalyticsProcedure struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsProcedure

func ANEAnalyticsProcedureFromID

func ANEAnalyticsProcedureFromID(id objc.ID) ANEAnalyticsProcedure

ANEAnalyticsProcedureFromID constructs a ANEAnalyticsProcedure from an objc.ID.

func NewANEAnalyticsProcedure

func NewANEAnalyticsProcedure() ANEAnalyticsProcedure

NewANEAnalyticsProcedure creates a new ANEAnalyticsProcedure instance.

func (ANEAnalyticsProcedure) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEAnalyticsProcedure) Init

Init initializes the instance.

type ANEAnalyticsProcedureClass

type ANEAnalyticsProcedureClass struct {
	// contains filtered or unexported fields
}

func GetANEAnalyticsProcedureClass

func GetANEAnalyticsProcedureClass() ANEAnalyticsProcedureClass

GetANEAnalyticsProcedureClass returns the class object for _ANEAnalyticsProcedure.

func (ANEAnalyticsProcedureClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEAnalyticsTask

type ANEAnalyticsTask struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsTask

func ANEAnalyticsTaskFromID

func ANEAnalyticsTaskFromID(id objc.ID) ANEAnalyticsTask

ANEAnalyticsTaskFromID constructs a ANEAnalyticsTask from an objc.ID.

func NewANEAnalyticsTask

func NewANEAnalyticsTask() ANEAnalyticsTask

NewANEAnalyticsTask creates a new ANEAnalyticsTask instance.

func (ANEAnalyticsTask) Autorelease

func (a ANEAnalyticsTask) Autorelease() ANEAnalyticsTask

Autorelease adds the receiver to the current autorelease pool.

func (ANEAnalyticsTask) Init

Init initializes the instance.

type ANEAnalyticsTaskClass

type ANEAnalyticsTaskClass struct {
	// contains filtered or unexported fields
}

func GetANEAnalyticsTaskClass

func GetANEAnalyticsTaskClass() ANEAnalyticsTaskClass

GetANEAnalyticsTaskClass returns the class object for _ANEAnalyticsTask.

func (ANEAnalyticsTaskClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEBuffer

type ANEBuffer struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEBuffer

func ANEBufferFromID

func ANEBufferFromID(id objc.ID) ANEBuffer

ANEBufferFromID constructs a ANEBuffer from an objc.ID.

func NewANEBuffer

func NewANEBuffer() ANEBuffer

NewANEBuffer creates a new ANEBuffer instance.

func (ANEBuffer) Autorelease

func (a ANEBuffer) Autorelease() ANEBuffer

Autorelease adds the receiver to the current autorelease pool.

func (ANEBuffer) Init

func (a ANEBuffer) Init() ANEBuffer

Init initializes the instance.

type ANEBufferClass

type ANEBufferClass struct {
	// contains filtered or unexported fields
}

func GetANEBufferClass

func GetANEBufferClass() ANEBufferClass

GetANEBufferClass returns the class object for _ANEBuffer.

func (ANEBufferClass) Alloc

func (ac ANEBufferClass) Alloc() ANEBuffer

Alloc allocates memory for a new instance of the class.

type ANECVAIRCompiler

type ANECVAIRCompiler struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECVAIRCompiler

func ANECVAIRCompilerFromID

func ANECVAIRCompilerFromID(id objc.ID) ANECVAIRCompiler

ANECVAIRCompilerFromID constructs a ANECVAIRCompiler from an objc.ID.

func NewANECVAIRCompiler

func NewANECVAIRCompiler() ANECVAIRCompiler

NewANECVAIRCompiler creates a new ANECVAIRCompiler instance.

func (ANECVAIRCompiler) Autorelease

func (a ANECVAIRCompiler) Autorelease() ANECVAIRCompiler

Autorelease adds the receiver to the current autorelease pool.

func (ANECVAIRCompiler) Init

Init initializes the instance.

type ANECVAIRCompilerClass

type ANECVAIRCompilerClass struct {
	// contains filtered or unexported fields
}

func GetANECVAIRCompilerClass

func GetANECVAIRCompilerClass() ANECVAIRCompilerClass

GetANECVAIRCompilerClass returns the class object for _ANECVAIRCompiler.

func (ANECVAIRCompilerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEChainingRequest

type ANEChainingRequest struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEChainingRequest

func ANEChainingRequestFromID

func ANEChainingRequestFromID(id objc.ID) ANEChainingRequest

ANEChainingRequestFromID constructs a ANEChainingRequest from an objc.ID.

func NewANEChainingRequest

func NewANEChainingRequest() ANEChainingRequest

NewANEChainingRequest creates a new ANEChainingRequest instance.

func (ANEChainingRequest) Autorelease

func (a ANEChainingRequest) Autorelease() ANEChainingRequest

Autorelease adds the receiver to the current autorelease pool.

func (ANEChainingRequest) Init

Init initializes the instance.

type ANEChainingRequestClass

type ANEChainingRequestClass struct {
	// contains filtered or unexported fields
}

func GetANEChainingRequestClass

func GetANEChainingRequestClass() ANEChainingRequestClass

GetANEChainingRequestClass returns the class object for _ANEChainingRequest.

func (ANEChainingRequestClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEClient

type ANEClient struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEClient

func ANEClientFromID

func ANEClientFromID(id objc.ID) ANEClient

ANEClientFromID constructs a ANEClient from an objc.ID.

func NewANEClient

func NewANEClient() ANEClient

NewANEClient creates a new ANEClient instance.

func (ANEClient) Autorelease

func (a ANEClient) Autorelease() ANEClient

Autorelease adds the receiver to the current autorelease pool.

func (ANEClient) Init

func (a ANEClient) Init() ANEClient

Init initializes the instance.

type ANEClientClass

type ANEClientClass struct {
	// contains filtered or unexported fields
}

func GetANEClientClass

func GetANEClientClass() ANEClientClass

GetANEClientClass returns the class object for _ANEClient.

func (ANEClientClass) Alloc

func (ac ANEClientClass) Alloc() ANEClient

Alloc allocates memory for a new instance of the class.

type ANECloneHelper

type ANECloneHelper struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECloneHelper

func ANECloneHelperFromID

func ANECloneHelperFromID(id objc.ID) ANECloneHelper

ANECloneHelperFromID constructs a ANECloneHelper from an objc.ID.

func NewANECloneHelper

func NewANECloneHelper() ANECloneHelper

NewANECloneHelper creates a new ANECloneHelper instance.

func (ANECloneHelper) Autorelease

func (a ANECloneHelper) Autorelease() ANECloneHelper

Autorelease adds the receiver to the current autorelease pool.

func (ANECloneHelper) Init

func (a ANECloneHelper) Init() ANECloneHelper

Init initializes the instance.

type ANECloneHelperClass

type ANECloneHelperClass struct {
	// contains filtered or unexported fields
}

func GetANECloneHelperClass

func GetANECloneHelperClass() ANECloneHelperClass

GetANECloneHelperClass returns the class object for _ANECloneHelper.

func (ANECloneHelperClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANECompiler

type ANECompiler struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECompiler

func ANECompilerFromID

func ANECompilerFromID(id objc.ID) ANECompiler

ANECompilerFromID constructs a ANECompiler from an objc.ID.

func NewANECompiler

func NewANECompiler() ANECompiler

NewANECompiler creates a new ANECompiler instance.

func (ANECompiler) Autorelease

func (a ANECompiler) Autorelease() ANECompiler

Autorelease adds the receiver to the current autorelease pool.

func (ANECompiler) Init

func (a ANECompiler) Init() ANECompiler

Init initializes the instance.

type ANECompilerAnalytics

type ANECompilerAnalytics struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECompilerAnalytics

func ANECompilerAnalyticsFromID

func ANECompilerAnalyticsFromID(id objc.ID) ANECompilerAnalytics

ANECompilerAnalyticsFromID constructs a ANECompilerAnalytics from an objc.ID.

func NewANECompilerAnalytics

func NewANECompilerAnalytics() ANECompilerAnalytics

NewANECompilerAnalytics creates a new ANECompilerAnalytics instance.

func (ANECompilerAnalytics) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANECompilerAnalytics) Init

Init initializes the instance.

func (ANECompilerAnalytics) SetProcedureAnalytics

func (a ANECompilerAnalytics) SetProcedureAnalytics(value foundation.INSArray)

type ANECompilerAnalyticsClass

type ANECompilerAnalyticsClass struct {
	// contains filtered or unexported fields
}

func GetANECompilerAnalyticsClass

func GetANECompilerAnalyticsClass() ANECompilerAnalyticsClass

GetANECompilerAnalyticsClass returns the class object for _ANECompilerAnalytics.

func (ANECompilerAnalyticsClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANECompilerClass

type ANECompilerClass struct {
	// contains filtered or unexported fields
}

func GetANECompilerClass

func GetANECompilerClass() ANECompilerClass

GetANECompilerClass returns the class object for _ANECompiler.

func (ANECompilerClass) Alloc

func (ac ANECompilerClass) Alloc() ANECompiler

Alloc allocates memory for a new instance of the class.

type ANECompilerService

type ANECompilerService struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECompilerService

func ANECompilerServiceFromID

func ANECompilerServiceFromID(id objc.ID) ANECompilerService

ANECompilerServiceFromID constructs a ANECompilerService from an objc.ID.

func NewANECompilerService

func NewANECompilerService() ANECompilerService

NewANECompilerService creates a new ANECompilerService instance.

func (ANECompilerService) Autorelease

func (a ANECompilerService) Autorelease() ANECompilerService

Autorelease adds the receiver to the current autorelease pool.

func (ANECompilerService) CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathWithReplySync

func (a ANECompilerService) CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathWithReplySync(ctx context.Context, at objectivec.IObject, identity objectivec.IObject, extension objectivec.IObject, options objectivec.IObject, directory objectivec.IObject, directory2 objectivec.IObject, url foundation.INSURL, path objectivec.IObject) error

CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathWithReplySync is a synchronous wrapper around ANECompilerService.CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANECompilerService) Init

Init initializes the instance.

type ANECompilerServiceClass

type ANECompilerServiceClass struct {
	// contains filtered or unexported fields
}

func GetANECompilerServiceClass

func GetANECompilerServiceClass() ANECompilerServiceClass

GetANECompilerServiceClass returns the class object for _ANECompilerService.

func (ANECompilerServiceClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANECoreMLModelCompiler

type ANECoreMLModelCompiler struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECoreMLModelCompiler

func ANECoreMLModelCompilerFromID

func ANECoreMLModelCompilerFromID(id objc.ID) ANECoreMLModelCompiler

ANECoreMLModelCompilerFromID constructs a ANECoreMLModelCompiler from an objc.ID.

func NewANECoreMLModelCompiler

func NewANECoreMLModelCompiler() ANECoreMLModelCompiler

NewANECoreMLModelCompiler creates a new ANECoreMLModelCompiler instance.

func (ANECoreMLModelCompiler) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANECoreMLModelCompiler) Init

Init initializes the instance.

type ANECoreMLModelCompilerClass

type ANECoreMLModelCompilerClass struct {
	// contains filtered or unexported fields
}

func GetANECoreMLModelCompilerClass

func GetANECoreMLModelCompilerClass() ANECoreMLModelCompilerClass

GetANECoreMLModelCompilerClass returns the class object for _ANECoreMLModelCompiler.

func (ANECoreMLModelCompilerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEDaemonConnection

type ANEDaemonConnection struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDaemonConnection

func ANEDaemonConnectionFromID

func ANEDaemonConnectionFromID(id objc.ID) ANEDaemonConnection

ANEDaemonConnectionFromID constructs a ANEDaemonConnection from an objc.ID.

func NewANEDaemonConnection

func NewANEDaemonConnection() ANEDaemonConnection

NewANEDaemonConnection creates a new ANEDaemonConnection instance.

func (ANEDaemonConnection) Autorelease

func (a ANEDaemonConnection) Autorelease() ANEDaemonConnection

Autorelease adds the receiver to the current autorelease pool.

func (ANEDaemonConnection) BeginRealTimeTaskWithReplySync

func (a ANEDaemonConnection) BeginRealTimeTaskWithReplySync(ctx context.Context) error

BeginRealTimeTaskWithReplySync is a synchronous wrapper around ANEDaemonConnection.BeginRealTimeTaskWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) CompileModelSandboxExtensionOptionsQosWithReplySync

func (a ANEDaemonConnection) CompileModelSandboxExtensionOptionsQosWithReplySync(ctx context.Context, model objectivec.IObject, extension objectivec.IObject, options objectivec.IObject, qos uint32) error

CompileModelSandboxExtensionOptionsQosWithReplySync is a synchronous wrapper around ANEDaemonConnection.CompileModelSandboxExtensionOptionsQosWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) CompiledModelExistsForWithReplySync

func (a ANEDaemonConnection) CompiledModelExistsForWithReplySync(ctx context.Context, for_ objectivec.IObject) error

CompiledModelExistsForWithReplySync is a synchronous wrapper around ANEDaemonConnection.CompiledModelExistsForWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) CompiledModelExistsMatchingHashWithReplySync

func (a ANEDaemonConnection) CompiledModelExistsMatchingHashWithReplySync(ctx context.Context, hash objectivec.IObject) error

CompiledModelExistsMatchingHashWithReplySync is a synchronous wrapper around ANEDaemonConnection.CompiledModelExistsMatchingHashWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) EchoWithReplySync

func (a ANEDaemonConnection) EchoWithReplySync(ctx context.Context, echo objectivec.IObject) error

EchoWithReplySync is a synchronous wrapper around ANEDaemonConnection.EchoWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) EndRealTimeTaskWithReplySync

func (a ANEDaemonConnection) EndRealTimeTaskWithReplySync(ctx context.Context) error

EndRealTimeTaskWithReplySync is a synchronous wrapper around ANEDaemonConnection.EndRealTimeTaskWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) Init

Init initializes the instance.

func (ANEDaemonConnection) LoadModelNewInstanceOptionsModelInstParamsQosWithReplySync

func (a ANEDaemonConnection) LoadModelNewInstanceOptionsModelInstParamsQosWithReplySync(ctx context.Context, instance objectivec.IObject, options objectivec.IObject, params objectivec.IObject, qos uint32) error

LoadModelNewInstanceOptionsModelInstParamsQosWithReplySync is a synchronous wrapper around ANEDaemonConnection.LoadModelNewInstanceOptionsModelInstParamsQosWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) LoadModelSandboxExtensionOptionsQosWithReplySync

func (a ANEDaemonConnection) LoadModelSandboxExtensionOptionsQosWithReplySync(ctx context.Context, model objectivec.IObject, extension objectivec.IObject, options objectivec.IObject, qos uint32) error

LoadModelSandboxExtensionOptionsQosWithReplySync is a synchronous wrapper around ANEDaemonConnection.LoadModelSandboxExtensionOptionsQosWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) PrepareChainingWithModelOptionsChainingReqQosWithReplySync

func (a ANEDaemonConnection) PrepareChainingWithModelOptionsChainingReqQosWithReplySync(ctx context.Context, model objectivec.IObject, options objectivec.IObject, req objectivec.IObject, qos uint32) error

PrepareChainingWithModelOptionsChainingReqQosWithReplySync is a synchronous wrapper around ANEDaemonConnection.PrepareChainingWithModelOptionsChainingReqQosWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) PurgeCompiledModelMatchingHashWithReplySync

func (a ANEDaemonConnection) PurgeCompiledModelMatchingHashWithReplySync(ctx context.Context, hash objectivec.IObject) error

PurgeCompiledModelMatchingHashWithReplySync is a synchronous wrapper around ANEDaemonConnection.PurgeCompiledModelMatchingHashWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) PurgeCompiledModelWithReplySync

func (a ANEDaemonConnection) PurgeCompiledModelWithReplySync(ctx context.Context, model objectivec.IObject) error

PurgeCompiledModelWithReplySync is a synchronous wrapper around ANEDaemonConnection.PurgeCompiledModelWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEDaemonConnection) UnloadModelOptionsQosWithReplySync

func (a ANEDaemonConnection) UnloadModelOptionsQosWithReplySync(ctx context.Context, model objectivec.IObject, options objectivec.IObject, qos uint32) error

UnloadModelOptionsQosWithReplySync is a synchronous wrapper around ANEDaemonConnection.UnloadModelOptionsQosWithReply. It blocks until the completion handler fires or the context is cancelled.

type ANEDaemonConnectionClass

type ANEDaemonConnectionClass struct {
	// contains filtered or unexported fields
}

func GetANEDaemonConnectionClass

func GetANEDaemonConnectionClass() ANEDaemonConnectionClass

GetANEDaemonConnectionClass returns the class object for _ANEDaemonConnection.

func (ANEDaemonConnectionClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEDataReporter

type ANEDataReporter struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDataReporter

func ANEDataReporterFromID

func ANEDataReporterFromID(id objc.ID) ANEDataReporter

ANEDataReporterFromID constructs a ANEDataReporter from an objc.ID.

func NewANEDataReporter

func NewANEDataReporter() ANEDataReporter

NewANEDataReporter creates a new ANEDataReporter instance.

func (ANEDataReporter) Autorelease

func (a ANEDataReporter) Autorelease() ANEDataReporter

Autorelease adds the receiver to the current autorelease pool.

func (ANEDataReporter) Init

Init initializes the instance.

type ANEDataReporterClass

type ANEDataReporterClass struct {
	// contains filtered or unexported fields
}

func GetANEDataReporterClass

func GetANEDataReporterClass() ANEDataReporterClass

GetANEDataReporterClass returns the class object for _ANEDataReporter.

func (ANEDataReporterClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEDataReporterClass) ReportErrorMsgStatus

func (_ANEDataReporterClass ANEDataReporterClass) ReportErrorMsgStatus(msg uint32, status uint32)

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDataReporter/reportErrorMsg:status:

type ANEDeviceController

type ANEDeviceController struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDeviceController

func ANEDeviceControllerFromID

func ANEDeviceControllerFromID(id objc.ID) ANEDeviceController

ANEDeviceControllerFromID constructs a ANEDeviceController from an objc.ID.

func NewANEDeviceController

func NewANEDeviceController() ANEDeviceController

NewANEDeviceController creates a new ANEDeviceController instance.

func (ANEDeviceController) Autorelease

func (a ANEDeviceController) Autorelease() ANEDeviceController

Autorelease adds the receiver to the current autorelease pool.

func (ANEDeviceController) Init

Init initializes the instance.

func (ANEDeviceController) SetDevice

func (a ANEDeviceController) SetDevice(value unsafe.Pointer)

func (ANEDeviceController) SetUsecount

func (a ANEDeviceController) SetUsecount(value int64)

type ANEDeviceControllerClass

type ANEDeviceControllerClass struct {
	// contains filtered or unexported fields
}

func GetANEDeviceControllerClass

func GetANEDeviceControllerClass() ANEDeviceControllerClass

GetANEDeviceControllerClass returns the class object for _ANEDeviceController.

func (ANEDeviceControllerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEDeviceInfo

type ANEDeviceInfo struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDeviceInfo

func ANEDeviceInfoFromID

func ANEDeviceInfoFromID(id objc.ID) ANEDeviceInfo

ANEDeviceInfoFromID constructs a ANEDeviceInfo from an objc.ID.

func NewANEDeviceInfo

func NewANEDeviceInfo() ANEDeviceInfo

NewANEDeviceInfo creates a new ANEDeviceInfo instance.

func (ANEDeviceInfo) Autorelease

func (a ANEDeviceInfo) Autorelease() ANEDeviceInfo

Autorelease adds the receiver to the current autorelease pool.

func (ANEDeviceInfo) Init

func (a ANEDeviceInfo) Init() ANEDeviceInfo

Init initializes the instance.

type ANEDeviceInfoClass

type ANEDeviceInfoClass struct {
	// contains filtered or unexported fields
}

func GetANEDeviceInfoClass

func GetANEDeviceInfoClass() ANEDeviceInfoClass

GetANEDeviceInfoClass returns the class object for _ANEDeviceInfo.

func (ANEDeviceInfoClass) Alloc

func (ac ANEDeviceInfoClass) Alloc() ANEDeviceInfo

Alloc allocates memory for a new instance of the class.

type ANEErrors

type ANEErrors struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEErrors

func ANEErrorsFromID

func ANEErrorsFromID(id objc.ID) ANEErrors

ANEErrorsFromID constructs a ANEErrors from an objc.ID.

func NewANEErrors

func NewANEErrors() ANEErrors

NewANEErrors creates a new ANEErrors instance.

func (ANEErrors) Autorelease

func (a ANEErrors) Autorelease() ANEErrors

Autorelease adds the receiver to the current autorelease pool.

func (ANEErrors) Init

func (a ANEErrors) Init() ANEErrors

Init initializes the instance.

type ANEErrorsClass

type ANEErrorsClass struct {
	// contains filtered or unexported fields
}

func GetANEErrorsClass

func GetANEErrorsClass() ANEErrorsClass

GetANEErrorsClass returns the class object for _ANEErrors.

func (ANEErrorsClass) Alloc

func (ac ANEErrorsClass) Alloc() ANEErrors

Alloc allocates memory for a new instance of the class.

type ANEEspressoIRTranslator

type ANEEspressoIRTranslator struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEEspressoIRTranslator

func ANEEspressoIRTranslatorFromID

func ANEEspressoIRTranslatorFromID(id objc.ID) ANEEspressoIRTranslator

ANEEspressoIRTranslatorFromID constructs a ANEEspressoIRTranslator from an objc.ID.

func NewANEEspressoIRTranslator

func NewANEEspressoIRTranslator() ANEEspressoIRTranslator

NewANEEspressoIRTranslator creates a new ANEEspressoIRTranslator instance.

func (ANEEspressoIRTranslator) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEEspressoIRTranslator) Init

Init initializes the instance.

type ANEEspressoIRTranslatorClass

type ANEEspressoIRTranslatorClass struct {
	// contains filtered or unexported fields
}

func GetANEEspressoIRTranslatorClass

func GetANEEspressoIRTranslatorClass() ANEEspressoIRTranslatorClass

GetANEEspressoIRTranslatorClass returns the class object for _ANEEspressoIRTranslator.

func (ANEEspressoIRTranslatorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEEspressoIRTranslatorClass) DestroyEspressoCtx

func (_ANEEspressoIRTranslatorClass ANEEspressoIRTranslatorClass) DestroyEspressoCtx(espresso unsafe.Pointer, ctx unsafe.Pointer)

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEEspressoIRTranslator/destroyEspresso:ctx:

type ANEHashEncoding

type ANEHashEncoding struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEHashEncoding

func ANEHashEncodingFromID

func ANEHashEncodingFromID(id objc.ID) ANEHashEncoding

ANEHashEncodingFromID constructs a ANEHashEncoding from an objc.ID.

func NewANEHashEncoding

func NewANEHashEncoding() ANEHashEncoding

NewANEHashEncoding creates a new ANEHashEncoding instance.

func (ANEHashEncoding) Autorelease

func (a ANEHashEncoding) Autorelease() ANEHashEncoding

Autorelease adds the receiver to the current autorelease pool.

func (ANEHashEncoding) Init

Init initializes the instance.

type ANEHashEncodingClass

type ANEHashEncodingClass struct {
	// contains filtered or unexported fields
}

func GetANEHashEncodingClass

func GetANEHashEncodingClass() ANEHashEncodingClass

GetANEHashEncodingClass returns the class object for _ANEHashEncoding.

func (ANEHashEncodingClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEHashEncodingClass) CopySHA256ForToBuffer

func (_ANEHashEncodingClass ANEHashEncodingClass) CopySHA256ForToBuffer(sHA256For objectivec.IObject, buffer []byte)

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEHashEncoding/copySHA256For:toBuffer:

type ANEIOSurfaceObject

type ANEIOSurfaceObject struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceObject

func ANEIOSurfaceObjectFromID

func ANEIOSurfaceObjectFromID(id objc.ID) ANEIOSurfaceObject

ANEIOSurfaceObjectFromID constructs a ANEIOSurfaceObject from an objc.ID.

func NewANEIOSurfaceObject

func NewANEIOSurfaceObject() ANEIOSurfaceObject

NewANEIOSurfaceObject creates a new ANEIOSurfaceObject instance.

func (ANEIOSurfaceObject) Autorelease

func (a ANEIOSurfaceObject) Autorelease() ANEIOSurfaceObject

Autorelease adds the receiver to the current autorelease pool.

func (ANEIOSurfaceObject) Init

Init initializes the instance.

type ANEIOSurfaceObjectClass

type ANEIOSurfaceObjectClass struct {
	// contains filtered or unexported fields
}

func GetANEIOSurfaceObjectClass

func GetANEIOSurfaceObjectClass() ANEIOSurfaceObjectClass

GetANEIOSurfaceObjectClass returns the class object for _ANEIOSurfaceObject.

func (ANEIOSurfaceObjectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEIOSurfaceObjectClass) CreateIOSurfaceWithWidthPixel_sizeHeight

func (_ANEIOSurfaceObjectClass ANEIOSurfaceObjectClass) CreateIOSurfaceWithWidthPixel_sizeHeight(width int, pixel_size int, height int) coregraphics.IOSurfaceRef

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceObject/createIOSurfaceWithWidth:pixel_size:height:

func (ANEIOSurfaceObjectClass) CreateIOSurfaceWithWidthPixel_sizeHeightBytesPerElement

func (_ANEIOSurfaceObjectClass ANEIOSurfaceObjectClass) CreateIOSurfaceWithWidthPixel_sizeHeightBytesPerElement(width int, pixel_size int, height int, element int) coregraphics.IOSurfaceRef

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceObject/createIOSurfaceWithWidth:pixel_size:height:bytesPerElement:

type ANEIOSurfaceOutputSets

type ANEIOSurfaceOutputSets struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceOutputSets

func ANEIOSurfaceOutputSetsFromID

func ANEIOSurfaceOutputSetsFromID(id objc.ID) ANEIOSurfaceOutputSets

ANEIOSurfaceOutputSetsFromID constructs a ANEIOSurfaceOutputSets from an objc.ID.

func NewANEIOSurfaceOutputSets

func NewANEIOSurfaceOutputSets() ANEIOSurfaceOutputSets

NewANEIOSurfaceOutputSets creates a new ANEIOSurfaceOutputSets instance.

func (ANEIOSurfaceOutputSets) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEIOSurfaceOutputSets) Init

Init initializes the instance.

type ANEIOSurfaceOutputSetsClass

type ANEIOSurfaceOutputSetsClass struct {
	// contains filtered or unexported fields
}

func GetANEIOSurfaceOutputSetsClass

func GetANEIOSurfaceOutputSetsClass() ANEIOSurfaceOutputSetsClass

GetANEIOSurfaceOutputSetsClass returns the class object for _ANEIOSurfaceOutputSets.

func (ANEIOSurfaceOutputSetsClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEIOSurfaceOutputSetsClass) SupportsSecureCoding

func (_ANEIOSurfaceOutputSetsClass ANEIOSurfaceOutputSetsClass) SupportsSecureCoding() bool

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceOutputSets/supportsSecureCoding

type ANEInMemoryModel

type ANEInMemoryModel struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModel

func ANEInMemoryModelFromID

func ANEInMemoryModelFromID(id objc.ID) ANEInMemoryModel

ANEInMemoryModelFromID constructs a ANEInMemoryModel from an objc.ID.

func NewANEInMemoryModel

func NewANEInMemoryModel() ANEInMemoryModel

NewANEInMemoryModel creates a new ANEInMemoryModel instance.

func (ANEInMemoryModel) Autorelease

func (a ANEInMemoryModel) Autorelease() ANEInMemoryModel

Autorelease adds the receiver to the current autorelease pool.

func (ANEInMemoryModel) Init

Init initializes the instance.

func (ANEInMemoryModel) SetCompilerOptionsFileName

func (a ANEInMemoryModel) SetCompilerOptionsFileName(value string)

func (ANEInMemoryModel) SetDescriptor

func (a ANEInMemoryModel) SetDescriptor(value *ANEInMemoryModelDescriptor)

func (ANEInMemoryModel) SetIntermediateBufferHandle

func (a ANEInMemoryModel) SetIntermediateBufferHandle(value uint64)

func (ANEInMemoryModel) SetModel

func (a ANEInMemoryModel) SetModel(value *ANEModel)

func (ANEInMemoryModel) SetModelAttributes

func (a ANEInMemoryModel) SetModelAttributes(value foundation.INSDictionary)

func (ANEInMemoryModel) SetModelURL

func (a ANEInMemoryModel) SetModelURL(value foundation.INSURL)

func (ANEInMemoryModel) SetPerfStatsMask

func (a ANEInMemoryModel) SetPerfStatsMask(value uint32)

func (ANEInMemoryModel) SetProgram

func (a ANEInMemoryModel) SetProgram(value *ANEProgramForEvaluation)

func (ANEInMemoryModel) SetProgramHandle

func (a ANEInMemoryModel) SetProgramHandle(value uint64)

func (ANEInMemoryModel) SetQueueDepth

func (a ANEInMemoryModel) SetQueueDepth(value int8)

func (ANEInMemoryModel) SetState

func (a ANEInMemoryModel) SetState(value uint64)

type ANEInMemoryModelCacheManager

type ANEInMemoryModelCacheManager struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModelCacheManager

func ANEInMemoryModelCacheManagerFromID

func ANEInMemoryModelCacheManagerFromID(id objc.ID) ANEInMemoryModelCacheManager

ANEInMemoryModelCacheManagerFromID constructs a ANEInMemoryModelCacheManager from an objc.ID.

func NewANEInMemoryModelCacheManager

func NewANEInMemoryModelCacheManager() ANEInMemoryModelCacheManager

NewANEInMemoryModelCacheManager creates a new ANEInMemoryModelCacheManager instance.

func (ANEInMemoryModelCacheManager) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEInMemoryModelCacheManager) Init

Init initializes the instance.

type ANEInMemoryModelCacheManagerClass

type ANEInMemoryModelCacheManagerClass struct {
	// contains filtered or unexported fields
}

func GetANEInMemoryModelCacheManagerClass

func GetANEInMemoryModelCacheManagerClass() ANEInMemoryModelCacheManagerClass

GetANEInMemoryModelCacheManagerClass returns the class object for _ANEInMemoryModelCacheManager.

func (ANEInMemoryModelCacheManagerClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEInMemoryModelCacheManagerClass) RemoveFilesFromDirectoryNotAccessedInSeconds

func (_ANEInMemoryModelCacheManagerClass ANEInMemoryModelCacheManagerClass) RemoveFilesFromDirectoryNotAccessedInSeconds(directory objectivec.IObject, seconds float64) bool

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModelCacheManager/removeFilesFromDirectory:notAccessedInSeconds:

type ANEInMemoryModelClass

type ANEInMemoryModelClass struct {
	// contains filtered or unexported fields
}

func GetANEInMemoryModelClass

func GetANEInMemoryModelClass() ANEInMemoryModelClass

GetANEInMemoryModelClass returns the class object for _ANEInMemoryModel.

func (ANEInMemoryModelClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEInMemoryModelDescriptor

type ANEInMemoryModelDescriptor struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModelDescriptor

func ANEInMemoryModelDescriptorFromID

func ANEInMemoryModelDescriptorFromID(id objc.ID) ANEInMemoryModelDescriptor

ANEInMemoryModelDescriptorFromID constructs a ANEInMemoryModelDescriptor from an objc.ID.

func NewANEInMemoryModelDescriptor

func NewANEInMemoryModelDescriptor() ANEInMemoryModelDescriptor

NewANEInMemoryModelDescriptor creates a new ANEInMemoryModelDescriptor instance.

func (ANEInMemoryModelDescriptor) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEInMemoryModelDescriptor) Init

Init initializes the instance.

type ANEInMemoryModelDescriptorClass

type ANEInMemoryModelDescriptorClass struct {
	// contains filtered or unexported fields
}

func GetANEInMemoryModelDescriptorClass

func GetANEInMemoryModelDescriptorClass() ANEInMemoryModelDescriptorClass

GetANEInMemoryModelDescriptorClass returns the class object for _ANEInMemoryModelDescriptor.

func (ANEInMemoryModelDescriptorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEInMemoryModelDescriptorClass) ModelWithMILTextWeightsOptionsPlistIsMILModel added in v0.2.0

func (_ANEInMemoryModelDescriptorClass ANEInMemoryModelDescriptorClass) ModelWithMILTextWeightsOptionsPlistIsMILModel(mILText objectivec.IObject, weights objectivec.IObject, plist objectivec.IObject, isMILModel bool) objectivec.IObject

ModelWithMILTextWeightsOptionsPlistIsMILModel calls modelWithMILText:weights:optionsPlist:isMILModel: when available.

type ANEInputBuffersReady

type ANEInputBuffersReady struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInputBuffersReady

func ANEInputBuffersReadyFromID

func ANEInputBuffersReadyFromID(id objc.ID) ANEInputBuffersReady

ANEInputBuffersReadyFromID constructs a ANEInputBuffersReady from an objc.ID.

func NewANEInputBuffersReady

func NewANEInputBuffersReady() ANEInputBuffersReady

NewANEInputBuffersReady creates a new ANEInputBuffersReady instance.

func (ANEInputBuffersReady) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEInputBuffersReady) Init

Init initializes the instance.

type ANEInputBuffersReadyClass

type ANEInputBuffersReadyClass struct {
	// contains filtered or unexported fields
}

func GetANEInputBuffersReadyClass

func GetANEInputBuffersReadyClass() ANEInputBuffersReadyClass

GetANEInputBuffersReadyClass returns the class object for _ANEInputBuffersReady.

func (ANEInputBuffersReadyClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANELog

type ANELog struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANELog

func ANELogFromID

func ANELogFromID(id objc.ID) ANELog

ANELogFromID constructs a ANELog from an objc.ID.

func NewANELog

func NewANELog() ANELog

NewANELog creates a new ANELog instance.

func (ANELog) Autorelease

func (a ANELog) Autorelease() ANELog

Autorelease adds the receiver to the current autorelease pool.

func (ANELog) Init

func (a ANELog) Init() ANELog

Init initializes the instance.

type ANELogClass

type ANELogClass struct {
	// contains filtered or unexported fields
}

func GetANELogClass

func GetANELogClass() ANELogClass

GetANELogClass returns the class object for _ANELog.

func (ANELogClass) Alloc

func (ac ANELogClass) Alloc() ANELog

Alloc allocates memory for a new instance of the class.

type ANEMILCompiler

type ANEMILCompiler struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEMILCompiler

func ANEMILCompilerFromID

func ANEMILCompilerFromID(id objc.ID) ANEMILCompiler

ANEMILCompilerFromID constructs a ANEMILCompiler from an objc.ID.

func NewANEMILCompiler

func NewANEMILCompiler() ANEMILCompiler

NewANEMILCompiler creates a new ANEMILCompiler instance.

func (ANEMILCompiler) Autorelease

func (a ANEMILCompiler) Autorelease() ANEMILCompiler

Autorelease adds the receiver to the current autorelease pool.

func (ANEMILCompiler) Init

func (a ANEMILCompiler) Init() ANEMILCompiler

Init initializes the instance.

type ANEMILCompilerClass

type ANEMILCompilerClass struct {
	// contains filtered or unexported fields
}

func GetANEMILCompilerClass

func GetANEMILCompilerClass() ANEMILCompilerClass

GetANEMILCompilerClass returns the class object for _ANEMILCompiler.

func (ANEMILCompilerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEMLIRCompiler

type ANEMLIRCompiler struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEMLIRCompiler

func ANEMLIRCompilerFromID

func ANEMLIRCompilerFromID(id objc.ID) ANEMLIRCompiler

ANEMLIRCompilerFromID constructs a ANEMLIRCompiler from an objc.ID.

func NewANEMLIRCompiler

func NewANEMLIRCompiler() ANEMLIRCompiler

NewANEMLIRCompiler creates a new ANEMLIRCompiler instance.

func (ANEMLIRCompiler) Autorelease

func (a ANEMLIRCompiler) Autorelease() ANEMLIRCompiler

Autorelease adds the receiver to the current autorelease pool.

func (ANEMLIRCompiler) Init

Init initializes the instance.

type ANEMLIRCompilerClass

type ANEMLIRCompilerClass struct {
	// contains filtered or unexported fields
}

func GetANEMLIRCompilerClass

func GetANEMLIRCompilerClass() ANEMLIRCompilerClass

GetANEMLIRCompilerClass returns the class object for _ANEMLIRCompiler.

func (ANEMLIRCompilerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEModel

type ANEModel struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModel

func ANEModelFromID

func ANEModelFromID(id objc.ID) ANEModel

ANEModelFromID constructs a ANEModel from an objc.ID.

func NewANEModel

func NewANEModel() ANEModel

NewANEModel creates a new ANEModel instance.

func (ANEModel) Autorelease

func (a ANEModel) Autorelease() ANEModel

Autorelease adds the receiver to the current autorelease pool.

func (ANEModel) Init

func (a ANEModel) Init() ANEModel

Init initializes the instance.

func (ANEModel) SetCacheURLIdentifier

func (a ANEModel) SetCacheURLIdentifier(value string)

func (ANEModel) SetIntermediateBufferHandle

func (a ANEModel) SetIntermediateBufferHandle(value uint64)

func (ANEModel) SetL

func (a ANEModel) SetL(value objectivec.IObject)

func (ANEModel) SetMapper

func (a ANEModel) SetMapper(value *ANEProgramIOSurfacesMapper)

func (ANEModel) SetModelAttributes

func (a ANEModel) SetModelAttributes(value foundation.INSDictionary)

func (ANEModel) SetPerfStatsMask

func (a ANEModel) SetPerfStatsMask(value uint32)

func (ANEModel) SetProgram

func (a ANEModel) SetProgram(value *ANEProgramForEvaluation)

func (ANEModel) SetProgramHandle

func (a ANEModel) SetProgramHandle(value uint64)

func (ANEModel) SetQueueDepth

func (a ANEModel) SetQueueDepth(value int8)

func (ANEModel) SetState

func (a ANEModel) SetState(value uint64)

func (ANEModel) SetString_id

func (a ANEModel) SetString_id(value uint64)

type ANEModelCacheManager

type ANEModelCacheManager struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelCacheManager

func ANEModelCacheManagerFromID

func ANEModelCacheManagerFromID(id objc.ID) ANEModelCacheManager

ANEModelCacheManagerFromID constructs a ANEModelCacheManager from an objc.ID.

func NewANEModelCacheManager

func NewANEModelCacheManager() ANEModelCacheManager

NewANEModelCacheManager creates a new ANEModelCacheManager instance.

func (ANEModelCacheManager) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEModelCacheManager) CacheURLIdentifierForModelUseSourceURLWithReplySync

func (a ANEModelCacheManager) CacheURLIdentifierForModelUseSourceURLWithReplySync(ctx context.Context, model objectivec.IObject, url bool) error

CacheURLIdentifierForModelUseSourceURLWithReplySync is a synchronous wrapper around ANEModelCacheManager.CacheURLIdentifierForModelUseSourceURLWithReply. It blocks until the completion handler fires or the context is cancelled.

func (ANEModelCacheManager) Init

Init initializes the instance.

type ANEModelCacheManagerClass

type ANEModelCacheManagerClass struct {
	// contains filtered or unexported fields
}

func GetANEModelCacheManagerClass

func GetANEModelCacheManagerClass() ANEModelCacheManagerClass

GetANEModelCacheManagerClass returns the class object for _ANEModelCacheManager.

func (ANEModelCacheManagerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEModelClass

type ANEModelClass struct {
	// contains filtered or unexported fields
}

func GetANEModelClass

func GetANEModelClass() ANEModelClass

GetANEModelClass returns the class object for _ANEModel.

func (ANEModelClass) Alloc

func (ac ANEModelClass) Alloc() ANEModel

Alloc allocates memory for a new instance of the class.

type ANEModelInstanceParameters

type ANEModelInstanceParameters struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelInstanceParameters

func ANEModelInstanceParametersFromID

func ANEModelInstanceParametersFromID(id objc.ID) ANEModelInstanceParameters

ANEModelInstanceParametersFromID constructs a ANEModelInstanceParameters from an objc.ID.

func NewANEModelInstanceParameters

func NewANEModelInstanceParameters() ANEModelInstanceParameters

NewANEModelInstanceParameters creates a new ANEModelInstanceParameters instance.

func (ANEModelInstanceParameters) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEModelInstanceParameters) Init

Init initializes the instance.

type ANEModelInstanceParametersClass

type ANEModelInstanceParametersClass struct {
	// contains filtered or unexported fields
}

func GetANEModelInstanceParametersClass

func GetANEModelInstanceParametersClass() ANEModelInstanceParametersClass

GetANEModelInstanceParametersClass returns the class object for _ANEModelInstanceParameters.

func (ANEModelInstanceParametersClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEModelInstanceParametersClass) SupportsSecureCoding

func (_ANEModelInstanceParametersClass ANEModelInstanceParametersClass) SupportsSecureCoding() bool

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelInstanceParameters/supportsSecureCoding

type ANEModelToken

type ANEModelToken struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelToken

func ANEModelTokenFromID

func ANEModelTokenFromID(id objc.ID) ANEModelToken

ANEModelTokenFromID constructs a ANEModelToken from an objc.ID.

func NewANEModelToken

func NewANEModelToken() ANEModelToken

NewANEModelToken creates a new ANEModelToken instance.

func (ANEModelToken) Autorelease

func (a ANEModelToken) Autorelease() ANEModelToken

Autorelease adds the receiver to the current autorelease pool.

func (ANEModelToken) Init

func (a ANEModelToken) Init() ANEModelToken

Init initializes the instance.

type ANEModelTokenClass

type ANEModelTokenClass struct {
	// contains filtered or unexported fields
}

func GetANEModelTokenClass

func GetANEModelTokenClass() ANEModelTokenClass

GetANEModelTokenClass returns the class object for _ANEModelToken.

func (ANEModelTokenClass) Alloc

func (ac ANEModelTokenClass) Alloc() ANEModelToken

Alloc allocates memory for a new instance of the class.

type ANEOutputSetEnqueue

type ANEOutputSetEnqueue struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEOutputSetEnqueue

func ANEOutputSetEnqueueFromID

func ANEOutputSetEnqueueFromID(id objc.ID) ANEOutputSetEnqueue

ANEOutputSetEnqueueFromID constructs a ANEOutputSetEnqueue from an objc.ID.

func NewANEOutputSetEnqueue

func NewANEOutputSetEnqueue() ANEOutputSetEnqueue

NewANEOutputSetEnqueue creates a new ANEOutputSetEnqueue instance.

func (ANEOutputSetEnqueue) Autorelease

func (a ANEOutputSetEnqueue) Autorelease() ANEOutputSetEnqueue

Autorelease adds the receiver to the current autorelease pool.

func (ANEOutputSetEnqueue) Init

Init initializes the instance.

type ANEOutputSetEnqueueClass

type ANEOutputSetEnqueueClass struct {
	// contains filtered or unexported fields
}

func GetANEOutputSetEnqueueClass

func GetANEOutputSetEnqueueClass() ANEOutputSetEnqueueClass

GetANEOutputSetEnqueueClass returns the class object for _ANEOutputSetEnqueue.

func (ANEOutputSetEnqueueClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEPerformanceStats

type ANEPerformanceStats struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEPerformanceStats

func ANEPerformanceStatsFromID

func ANEPerformanceStatsFromID(id objc.ID) ANEPerformanceStats

ANEPerformanceStatsFromID constructs a ANEPerformanceStats from an objc.ID.

func NewANEPerformanceStats

func NewANEPerformanceStats() ANEPerformanceStats

NewANEPerformanceStats creates a new ANEPerformanceStats instance.

func (ANEPerformanceStats) Autorelease

func (a ANEPerformanceStats) Autorelease() ANEPerformanceStats

Autorelease adds the receiver to the current autorelease pool.

func (ANEPerformanceStats) Init

Init initializes the instance.

type ANEPerformanceStatsClass

type ANEPerformanceStatsClass struct {
	// contains filtered or unexported fields
}

func GetANEPerformanceStatsClass

func GetANEPerformanceStatsClass() ANEPerformanceStatsClass

GetANEPerformanceStatsClass returns the class object for _ANEPerformanceStats.

func (ANEPerformanceStatsClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEPerformanceStatsClass) DriverMaskForANEFMask

func (_ANEPerformanceStatsClass ANEPerformanceStatsClass) DriverMaskForANEFMask(aNEFMask uint32) uint32

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEPerformanceStats/driverMaskForANEFMask:

type ANEPerformanceStatsIOSurface

type ANEPerformanceStatsIOSurface struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEPerformanceStatsIOSurface

func ANEPerformanceStatsIOSurfaceFromID

func ANEPerformanceStatsIOSurfaceFromID(id objc.ID) ANEPerformanceStatsIOSurface

ANEPerformanceStatsIOSurfaceFromID constructs a ANEPerformanceStatsIOSurface from an objc.ID.

func NewANEPerformanceStatsIOSurface

func NewANEPerformanceStatsIOSurface() ANEPerformanceStatsIOSurface

NewANEPerformanceStatsIOSurface creates a new ANEPerformanceStatsIOSurface instance.

func (ANEPerformanceStatsIOSurface) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEPerformanceStatsIOSurface) Init

Init initializes the instance.

type ANEPerformanceStatsIOSurfaceClass

type ANEPerformanceStatsIOSurfaceClass struct {
	// contains filtered or unexported fields
}

func GetANEPerformanceStatsIOSurfaceClass

func GetANEPerformanceStatsIOSurfaceClass() ANEPerformanceStatsIOSurfaceClass

GetANEPerformanceStatsIOSurfaceClass returns the class object for _ANEPerformanceStatsIOSurface.

func (ANEPerformanceStatsIOSurfaceClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEProcedureData

type ANEProcedureData struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEProcedureData

func ANEProcedureDataFromID

func ANEProcedureDataFromID(id objc.ID) ANEProcedureData

ANEProcedureDataFromID constructs a ANEProcedureData from an objc.ID.

func NewANEProcedureData

func NewANEProcedureData() ANEProcedureData

NewANEProcedureData creates a new ANEProcedureData instance.

func (ANEProcedureData) Autorelease

func (a ANEProcedureData) Autorelease() ANEProcedureData

Autorelease adds the receiver to the current autorelease pool.

func (ANEProcedureData) Init

Init initializes the instance.

type ANEProcedureDataClass

type ANEProcedureDataClass struct {
	// contains filtered or unexported fields
}

func GetANEProcedureDataClass

func GetANEProcedureDataClass() ANEProcedureDataClass

GetANEProcedureDataClass returns the class object for _ANEProcedureData.

func (ANEProcedureDataClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEProgramForEvaluation

type ANEProgramForEvaluation struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEProgramForEvaluation

func ANEProgramForEvaluationFromID

func ANEProgramForEvaluationFromID(id objc.ID) ANEProgramForEvaluation

ANEProgramForEvaluationFromID constructs a ANEProgramForEvaluation from an objc.ID.

func NewANEProgramForEvaluation

func NewANEProgramForEvaluation() ANEProgramForEvaluation

NewANEProgramForEvaluation creates a new ANEProgramForEvaluation instance.

func (ANEProgramForEvaluation) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEProgramForEvaluation) Init

Init initializes the instance.

func (ANEProgramForEvaluation) SetCurrentAsyncRequestsInFlight

func (a ANEProgramForEvaluation) SetCurrentAsyncRequestsInFlight(value int64)

func (ANEProgramForEvaluation) SetIntermediateBufferHandle

func (a ANEProgramForEvaluation) SetIntermediateBufferHandle(value uint64)

func (ANEProgramForEvaluation) SetProgramHandle

func (a ANEProgramForEvaluation) SetProgramHandle(value uint64)

type ANEProgramForEvaluationClass

type ANEProgramForEvaluationClass struct {
	// contains filtered or unexported fields
}

func GetANEProgramForEvaluationClass

func GetANEProgramForEvaluationClass() ANEProgramForEvaluationClass

GetANEProgramForEvaluationClass returns the class object for _ANEProgramForEvaluation.

func (ANEProgramForEvaluationClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEProgramIOSurfacesMapper

type ANEProgramIOSurfacesMapper struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEProgramIOSurfacesMapper

func ANEProgramIOSurfacesMapperFromID

func ANEProgramIOSurfacesMapperFromID(id objc.ID) ANEProgramIOSurfacesMapper

ANEProgramIOSurfacesMapperFromID constructs a ANEProgramIOSurfacesMapper from an objc.ID.

func NewANEProgramIOSurfacesMapper

func NewANEProgramIOSurfacesMapper() ANEProgramIOSurfacesMapper

NewANEProgramIOSurfacesMapper creates a new ANEProgramIOSurfacesMapper instance.

func (ANEProgramIOSurfacesMapper) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEProgramIOSurfacesMapper) Init

Init initializes the instance.

type ANEProgramIOSurfacesMapperClass

type ANEProgramIOSurfacesMapperClass struct {
	// contains filtered or unexported fields
}

func GetANEProgramIOSurfacesMapperClass

func GetANEProgramIOSurfacesMapperClass() ANEProgramIOSurfacesMapperClass

GetANEProgramIOSurfacesMapperClass returns the class object for _ANEProgramIOSurfacesMapper.

func (ANEProgramIOSurfacesMapperClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEQoSMapper

type ANEQoSMapper struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEQoSMapper

func ANEQoSMapperFromID

func ANEQoSMapperFromID(id objc.ID) ANEQoSMapper

ANEQoSMapperFromID constructs a ANEQoSMapper from an objc.ID.

func NewANEQoSMapper

func NewANEQoSMapper() ANEQoSMapper

NewANEQoSMapper creates a new ANEQoSMapper instance.

func (ANEQoSMapper) Autorelease

func (a ANEQoSMapper) Autorelease() ANEQoSMapper

Autorelease adds the receiver to the current autorelease pool.

func (ANEQoSMapper) Init

func (a ANEQoSMapper) Init() ANEQoSMapper

Init initializes the instance.

type ANEQoSMapperClass

type ANEQoSMapperClass struct {
	// contains filtered or unexported fields
}

func GetANEQoSMapperClass

func GetANEQoSMapperClass() ANEQoSMapperClass

GetANEQoSMapperClass returns the class object for _ANEQoSMapper.

func (ANEQoSMapperClass) Alloc

func (ac ANEQoSMapperClass) Alloc() ANEQoSMapper

Alloc allocates memory for a new instance of the class.

func (ANEQoSMapperClass) QosForProgramPriority

func (_ANEQoSMapperClass ANEQoSMapperClass) QosForProgramPriority(priority int) uint32

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEQoSMapper/qosForProgramPriority:

type ANERequest

type ANERequest struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANERequest

func ANERequestFromID

func ANERequestFromID(id objc.ID) ANERequest

ANERequestFromID constructs a ANERequest from an objc.ID.

func NewANERequest

func NewANERequest() ANERequest

NewANERequest creates a new ANERequest instance.

func (ANERequest) Autorelease

func (a ANERequest) Autorelease() ANERequest

Autorelease adds the receiver to the current autorelease pool.

func (ANERequest) ClearCompletionHandler added in v0.2.0

func (a ANERequest) ClearCompletionHandler()

ClearCompletionHandler clears and releases any retained completion handler.

func (ANERequest) Init

func (a ANERequest) Init() ANERequest

Init initializes the instance.

func (ANERequest) Set

func (a ANERequest) Set(ctx context.Context) (bool, error)

Set is a synchronous wrapper around ANERequest.SetCompletionHandler. It blocks until the completion handler fires or the context is cancelled.

func (ANERequest) SetCompletionHandlerRetained added in v0.2.0

func (a ANERequest) SetCompletionHandlerRetained(handler BoolErrorHandler) *CompletionHandlerBinding

SetCompletionHandlerRetained sets a completion handler and retains the block via associated object to avoid premature release on async paths.

func (ANERequest) SetPerfStats

func (a ANERequest) SetPerfStats(value *ANEPerformanceStats)

func (ANERequest) SetSharedEvents

func (a ANERequest) SetSharedEvents(value *ANESharedEvents)

func (ANERequest) SetTransactionHandle

func (a ANERequest) SetTransactionHandle(value foundation.NSNumber)

type ANERequestClass

type ANERequestClass struct {
	// contains filtered or unexported fields
}

func GetANERequestClass

func GetANERequestClass() ANERequestClass

GetANERequestClass returns the class object for _ANERequest.

func (ANERequestClass) Alloc

func (ac ANERequestClass) Alloc() ANERequest

Alloc allocates memory for a new instance of the class.

type ANESandboxingHelper

type ANESandboxingHelper struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESandboxingHelper

func ANESandboxingHelperFromID

func ANESandboxingHelperFromID(id objc.ID) ANESandboxingHelper

ANESandboxingHelperFromID constructs a ANESandboxingHelper from an objc.ID.

func NewANESandboxingHelper

func NewANESandboxingHelper() ANESandboxingHelper

NewANESandboxingHelper creates a new ANESandboxingHelper instance.

func (ANESandboxingHelper) Autorelease

func (a ANESandboxingHelper) Autorelease() ANESandboxingHelper

Autorelease adds the receiver to the current autorelease pool.

func (ANESandboxingHelper) Init

Init initializes the instance.

type ANESandboxingHelperClass

type ANESandboxingHelperClass struct {
	// contains filtered or unexported fields
}

func GetANESandboxingHelperClass

func GetANESandboxingHelperClass() ANESandboxingHelperClass

GetANESandboxingHelperClass returns the class object for _ANESandboxingHelper.

func (ANESandboxingHelperClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANESandboxingHelperClass) ReleaseSandboxExtensionHandle

func (_ANESandboxingHelperClass ANESandboxingHelperClass) ReleaseSandboxExtensionHandle(extension objectivec.IObject, handle int64) bool

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESandboxingHelper/releaseSandboxExtension:handle:

type ANESharedEvents

type ANESharedEvents struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESharedEvents

func ANESharedEventsFromID

func ANESharedEventsFromID(id objc.ID) ANESharedEvents

ANESharedEventsFromID constructs a ANESharedEvents from an objc.ID.

func NewANESharedEvents

func NewANESharedEvents() ANESharedEvents

NewANESharedEvents creates a new ANESharedEvents instance.

func (ANESharedEvents) Autorelease

func (a ANESharedEvents) Autorelease() ANESharedEvents

Autorelease adds the receiver to the current autorelease pool.

func (ANESharedEvents) Init

Init initializes the instance.

func (ANESharedEvents) SetSignalEvents

func (a ANESharedEvents) SetSignalEvents(value foundation.INSArray)

func (ANESharedEvents) SetWaitEvents

func (a ANESharedEvents) SetWaitEvents(value foundation.INSArray)

type ANESharedEventsClass

type ANESharedEventsClass struct {
	// contains filtered or unexported fields
}

func GetANESharedEventsClass

func GetANESharedEventsClass() ANESharedEventsClass

GetANESharedEventsClass returns the class object for _ANESharedEvents.

func (ANESharedEventsClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANESharedSignalEvent

type ANESharedSignalEvent struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESharedSignalEvent

func ANESharedSignalEventFromID

func ANESharedSignalEventFromID(id objc.ID) ANESharedSignalEvent

ANESharedSignalEventFromID constructs a ANESharedSignalEvent from an objc.ID.

func NewANESharedSignalEvent

func NewANESharedSignalEvent() ANESharedSignalEvent

NewANESharedSignalEvent creates a new ANESharedSignalEvent instance.

func (ANESharedSignalEvent) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANESharedSignalEvent) Init

Init initializes the instance.

func (ANESharedSignalEvent) SetAgentMask

func (a ANESharedSignalEvent) SetAgentMask(value uint64)

func (ANESharedSignalEvent) SetValue

func (a ANESharedSignalEvent) SetValue(value uint64)

type ANESharedSignalEventClass

type ANESharedSignalEventClass struct {
	// contains filtered or unexported fields
}

func GetANESharedSignalEventClass

func GetANESharedSignalEventClass() ANESharedSignalEventClass

GetANESharedSignalEventClass returns the class object for _ANESharedSignalEvent.

func (ANESharedSignalEventClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANESharedWaitEvent

type ANESharedWaitEvent struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESharedWaitEvent

func ANESharedWaitEventFromID

func ANESharedWaitEventFromID(id objc.ID) ANESharedWaitEvent

ANESharedWaitEventFromID constructs a ANESharedWaitEvent from an objc.ID.

func NewANESharedWaitEvent

func NewANESharedWaitEvent() ANESharedWaitEvent

NewANESharedWaitEvent creates a new ANESharedWaitEvent instance.

func (ANESharedWaitEvent) Autorelease

func (a ANESharedWaitEvent) Autorelease() ANESharedWaitEvent

Autorelease adds the receiver to the current autorelease pool.

func (ANESharedWaitEvent) Init

Init initializes the instance.

func (ANESharedWaitEvent) SetValue

func (a ANESharedWaitEvent) SetValue(value uint64)

type ANESharedWaitEventClass

type ANESharedWaitEventClass struct {
	// contains filtered or unexported fields
}

func GetANESharedWaitEventClass

func GetANESharedWaitEventClass() ANESharedWaitEventClass

GetANESharedWaitEventClass returns the class object for _ANESharedWaitEvent.

func (ANESharedWaitEventClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEStorageHelper

type ANEStorageHelper struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEStorageHelper

func ANEStorageHelperFromID

func ANEStorageHelperFromID(id objc.ID) ANEStorageHelper

ANEStorageHelperFromID constructs a ANEStorageHelper from an objc.ID.

func NewANEStorageHelper

func NewANEStorageHelper() ANEStorageHelper

NewANEStorageHelper creates a new ANEStorageHelper instance.

func (ANEStorageHelper) Autorelease

func (a ANEStorageHelper) Autorelease() ANEStorageHelper

Autorelease adds the receiver to the current autorelease pool.

func (ANEStorageHelper) Init

Init initializes the instance.

type ANEStorageHelperClass

type ANEStorageHelperClass struct {
	// contains filtered or unexported fields
}

func GetANEStorageHelperClass

func GetANEStorageHelperClass() ANEStorageHelperClass

GetANEStorageHelperClass returns the class object for _ANEStorageHelper.

func (ANEStorageHelperClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEStorageMaintainer

type ANEStorageMaintainer struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEStorageMaintainer

func ANEStorageMaintainerFromID

func ANEStorageMaintainerFromID(id objc.ID) ANEStorageMaintainer

ANEStorageMaintainerFromID constructs a ANEStorageMaintainer from an objc.ID.

func NewANEStorageMaintainer

func NewANEStorageMaintainer() ANEStorageMaintainer

NewANEStorageMaintainer creates a new ANEStorageMaintainer instance.

func (ANEStorageMaintainer) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (ANEStorageMaintainer) Init

Init initializes the instance.

func (ANEStorageMaintainer) PurgeDanglingModelsAtWithReplySync

func (a ANEStorageMaintainer) PurgeDanglingModelsAtWithReplySync(ctx context.Context, at objectivec.IObject) error

PurgeDanglingModelsAtWithReplySync is a synchronous wrapper around ANEStorageMaintainer.PurgeDanglingModelsAtWithReply. It blocks until the completion handler fires or the context is cancelled.

type ANEStorageMaintainerClass

type ANEStorageMaintainerClass struct {
	// contains filtered or unexported fields
}

func GetANEStorageMaintainerClass

func GetANEStorageMaintainerClass() ANEStorageMaintainerClass

GetANEStorageMaintainerClass returns the class object for _ANEStorageMaintainer.

func (ANEStorageMaintainerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEStrings

type ANEStrings struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEStrings

func ANEStringsFromID

func ANEStringsFromID(id objc.ID) ANEStrings

ANEStringsFromID constructs a ANEStrings from an objc.ID.

func NewANEStrings

func NewANEStrings() ANEStrings

NewANEStrings creates a new ANEStrings instance.

func (ANEStrings) Autorelease

func (a ANEStrings) Autorelease() ANEStrings

Autorelease adds the receiver to the current autorelease pool.

func (ANEStrings) Init

func (a ANEStrings) Init() ANEStrings

Init initializes the instance.

type ANEStringsClass

type ANEStringsClass struct {
	// contains filtered or unexported fields
}

func GetANEStringsClass

func GetANEStringsClass() ANEStringsClass

GetANEStringsClass returns the class object for _ANEStrings.

func (ANEStringsClass) Alloc

func (ac ANEStringsClass) Alloc() ANEStrings

Alloc allocates memory for a new instance of the class.

type ANETask

type ANETask struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANETask

func ANETaskFromID

func ANETaskFromID(id objc.ID) ANETask

ANETaskFromID constructs a ANETask from an objc.ID.

func NewANETask

func NewANETask() ANETask

NewANETask creates a new ANETask instance.

func (ANETask) Autorelease

func (a ANETask) Autorelease() ANETask

Autorelease adds the receiver to the current autorelease pool.

func (ANETask) Init

func (a ANETask) Init() ANETask

Init initializes the instance.

func (ANETask) InitWithNamePeriodHandlerSync

func (a ANETask) InitWithNamePeriodHandlerSync(ctx context.Context, name objectivec.IObject, period uint64) error

InitWithNamePeriodHandlerSync is a synchronous wrapper around ANETask.InitWithNamePeriodHandler. It blocks until the completion handler fires or the context is cancelled.

type ANETaskClass

type ANETaskClass struct {
	// contains filtered or unexported fields
}

func GetANETaskClass

func GetANETaskClass() ANETaskClass

GetANETaskClass returns the class object for _ANETask.

func (ANETaskClass) Alloc

func (ac ANETaskClass) Alloc() ANETask

Alloc allocates memory for a new instance of the class.

func (ANETaskClass) TaskWithNamePeriodHandlerSync

func (ac ANETaskClass) TaskWithNamePeriodHandlerSync(ctx context.Context, name objectivec.IObject, period uint64) error

TaskWithNamePeriodHandlerSync is a synchronous wrapper around [ANETask.TaskWithNamePeriodHandler]. It blocks until the completion handler fires or the context is cancelled.

type ANETaskManager

type ANETaskManager struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANETaskManager

func ANETaskManagerFromID

func ANETaskManagerFromID(id objc.ID) ANETaskManager

ANETaskManagerFromID constructs a ANETaskManager from an objc.ID.

func NewANETaskManager

func NewANETaskManager() ANETaskManager

NewANETaskManager creates a new ANETaskManager instance.

func (ANETaskManager) Autorelease

func (a ANETaskManager) Autorelease() ANETaskManager

Autorelease adds the receiver to the current autorelease pool.

func (ANETaskManager) Init

func (a ANETaskManager) Init() ANETaskManager

Init initializes the instance.

type ANETaskManagerClass

type ANETaskManagerClass struct {
	// contains filtered or unexported fields
}

func GetANETaskManagerClass

func GetANETaskManagerClass() ANETaskManagerClass

GetANETaskManagerClass returns the class object for _ANETaskManager.

func (ANETaskManagerClass) Alloc

Alloc allocates memory for a new instance of the class.

type ANEVirtualClient

type ANEVirtualClient struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEVirtualClient

func ANEVirtualClientFromID

func ANEVirtualClientFromID(id objc.ID) ANEVirtualClient

ANEVirtualClientFromID constructs a ANEVirtualClient from an objc.ID.

func NewANEVirtualClient

func NewANEVirtualClient() ANEVirtualClient

NewANEVirtualClient creates a new ANEVirtualClient instance.

func (ANEVirtualClient) Autorelease

func (a ANEVirtualClient) Autorelease() ANEVirtualClient

Autorelease adds the receiver to the current autorelease pool.

func (ANEVirtualClient) DoEvaluateWithModelLegacyOptionsRequestQosCompletionEventHandlerError added in v0.2.0

func (a ANEVirtualClient) DoEvaluateWithModelLegacyOptionsRequestQosCompletionEventHandlerError(legacy objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32, handler BoolErrorHandler) (ok bool, release func(), err error)

DoEvaluateWithModelLegacyOptionsRequestQosCompletionEventHandlerError wraps legacy completionEvent with a typed BoolError handler block.

The caller must keep the returned release func alive until completion has fired, then call it exactly once.

func (ANEVirtualClient) DoEvaluateWithModelOptionsRequestQosCompletionEventHandlerError added in v0.2.0

func (a ANEVirtualClient) DoEvaluateWithModelOptionsRequestQosCompletionEventHandlerError(model objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32, handler BoolErrorHandler) (ok bool, release func(), err error)

DoEvaluateWithModelOptionsRequestQosCompletionEventHandlerError wraps the completionEvent argument with a typed BoolError handler block.

The caller must keep the returned release func alive until completion has fired, then call it exactly once.

func (ANEVirtualClient) Init

Init initializes the instance.

type ANEVirtualClientClass

type ANEVirtualClientClass struct {
	// contains filtered or unexported fields
}

func GetANEVirtualClientClass

func GetANEVirtualClientClass() ANEVirtualClientClass

GetANEVirtualClientClass returns the class object for _ANEVirtualClient.

func (ANEVirtualClientClass) Alloc

Alloc allocates memory for a new instance of the class.

func (ANEVirtualClientClass) PrintStruct

func (_ANEVirtualClientClass ANEVirtualClientClass) PrintStruct(struct_ unsafe.Pointer)

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEVirtualClient/printStruct:

type ANEWeight

type ANEWeight struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEWeight

func ANEWeightFromID

func ANEWeightFromID(id objc.ID) ANEWeight

ANEWeightFromID constructs a ANEWeight from an objc.ID.

func NewANEWeight

func NewANEWeight() ANEWeight

NewANEWeight creates a new ANEWeight instance.

func (ANEWeight) Autorelease

func (a ANEWeight) Autorelease() ANEWeight

Autorelease adds the receiver to the current autorelease pool.

func (ANEWeight) Init

func (a ANEWeight) Init() ANEWeight

Init initializes the instance.

func (ANEWeight) SetSandboxExtension

func (a ANEWeight) SetSandboxExtension(value string)

func (ANEWeight) SetWeightURL

func (a ANEWeight) SetWeightURL(value foundation.INSURL)

type ANEWeightClass

type ANEWeightClass struct {
	// contains filtered or unexported fields
}

func GetANEWeightClass

func GetANEWeightClass() ANEWeightClass

GetANEWeightClass returns the class object for _ANEWeight.

func (ANEWeightClass) Alloc

func (ac ANEWeightClass) Alloc() ANEWeight

Alloc allocates memory for a new instance of the class.

type BoolErrorHandler

type BoolErrorHandler = func(bool, error)

BoolErrorHandler handles completion with primitive result and optional error.

Used by:

type CompletionHandlerBinding added in v0.2.0

type CompletionHandlerBinding struct {
	// contains filtered or unexported fields
}

CompletionHandlerBinding keeps an Objective-C completion block alive while a request is in flight. Call Release once completion has fired (or on error).

func (*CompletionHandlerBinding) Release added in v0.2.0

func (b *CompletionHandlerBinding) Release()

Release detaches and releases the retained completion block.

type EspressoANEIOSurface

type EspressoANEIOSurface struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/AppleNeuralEngine/EspressoANEIOSurface

func EspressoANEIOSurfaceFromID

func EspressoANEIOSurfaceFromID(id objc.ID) EspressoANEIOSurface

EspressoANEIOSurfaceFromID constructs a EspressoANEIOSurface from an objc.ID.

func NewEspressoANEIOSurface

func NewEspressoANEIOSurface() EspressoANEIOSurface

NewEspressoANEIOSurface creates a new EspressoANEIOSurface instance.

func (EspressoANEIOSurface) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (EspressoANEIOSurface) Init

Init initializes the instance.

func (EspressoANEIOSurface) SetExternal_storage_blob_for_aliasing_mem

func (e EspressoANEIOSurface) SetExternal_storage_blob_for_aliasing_mem(value objectivec.IObject)

type EspressoANEIOSurfaceClass

type EspressoANEIOSurfaceClass struct {
	// contains filtered or unexported fields
}

func GetEspressoANEIOSurfaceClass

func GetEspressoANEIOSurfaceClass() EspressoANEIOSurfaceClass

GetEspressoANEIOSurfaceClass returns the class object for EspressoANEIOSurface.

func (EspressoANEIOSurfaceClass) Alloc

Alloc allocates memory for a new instance of the class.

type IANEAnalyticsGroup

type IANEAnalyticsGroup interface {
	objectivec.IObject

	GroupID() foundation.NSNumber
	LayerInfo() foundation.INSArray
	Serialize() objectivec.IObject
	TaskInfo() foundation.INSArray
	InitWithIDLayersTasks(id objectivec.IObject, layers objectivec.IObject, tasks objectivec.IObject) ANEAnalyticsGroup
}

An interface definition for the ANEAnalyticsGroup class.

Methods

  • [IANEAnalyticsGroup.GroupID]
  • [IANEAnalyticsGroup.LayerInfo]
  • [IANEAnalyticsGroup.Serialize]
  • [IANEAnalyticsGroup.TaskInfo]
  • [IANEAnalyticsGroup.InitWithIDLayersTasks]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsGroup

type IANEAnalyticsLayer

type IANEAnalyticsLayer interface {
	objectivec.IObject

	LayerName() string
	Serialize() objectivec.IObject
	Weight() foundation.NSNumber
	InitWithNameWeight(name objectivec.IObject, weight objectivec.IObject) ANEAnalyticsLayer
}

An interface definition for the ANEAnalyticsLayer class.

Methods

  • [IANEAnalyticsLayer.LayerName]
  • [IANEAnalyticsLayer.Serialize]
  • [IANEAnalyticsLayer.Weight]
  • [IANEAnalyticsLayer.InitWithNameWeight]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsLayer

type IANEAnalyticsProcedure

type IANEAnalyticsProcedure interface {
	objectivec.IObject

	GroupInfo() foundation.INSArray
	Identifier() string
	ProcedureMetrics() foundation.INSDictionary
	Serialize() objectivec.IObject
	InitWithGroupsProcedureMetricsIndentifier(groups objectivec.IObject, metrics objectivec.IObject, indentifier objectivec.IObject) ANEAnalyticsProcedure
}

An interface definition for the ANEAnalyticsProcedure class.

Methods

  • [IANEAnalyticsProcedure.GroupInfo]
  • [IANEAnalyticsProcedure.Identifier]
  • [IANEAnalyticsProcedure.ProcedureMetrics]
  • [IANEAnalyticsProcedure.Serialize]
  • [IANEAnalyticsProcedure.InitWithGroupsProcedureMetricsIndentifier]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsProcedure

type IANEAnalyticsTask

type IANEAnalyticsTask interface {
	objectivec.IObject

	Metrics() foundation.INSDictionary
	Serialize() objectivec.IObject
	InitWithMetrics(metrics objectivec.IObject) ANEAnalyticsTask
}

An interface definition for the ANEAnalyticsTask class.

Methods

  • [IANEAnalyticsTask.Metrics]
  • [IANEAnalyticsTask.Serialize]
  • [IANEAnalyticsTask.InitWithMetrics]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEAnalyticsTask

type IANEBuffer

type IANEBuffer interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
	IoSurfaceObject() *ANEIOSurfaceObject
	Source() int64
	SymbolIndex() foundation.NSNumber
	InitWithCoder(coder foundation.INSCoder) ANEBuffer
	InitWithIOSurfaceObjectSymbolIndexSource(object objectivec.IObject, index objectivec.IObject, source int64) ANEBuffer
}

An interface definition for the ANEBuffer class.

Methods

  • [IANEBuffer.EncodeWithCoder]
  • [IANEBuffer.IoSurfaceObject]
  • [IANEBuffer.Source]
  • [IANEBuffer.SymbolIndex]
  • [IANEBuffer.InitWithCoder]
  • [IANEBuffer.InitWithIOSurfaceObjectSymbolIndexSource]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEBuffer

type IANECVAIRCompiler

type IANECVAIRCompiler interface {
	objectivec.IObject
}

An interface definition for the ANECVAIRCompiler class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECVAIRCompiler

type IANEChainingRequest

type IANEChainingRequest interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
	FwEnqueueDelay() foundation.NSNumber
	InputBuffer() foundation.INSArray
	LoopbackInputSymbolIndex() foundation.INSArray
	LoopbackOutputSymbolIndex() foundation.INSArray
	MemoryPoolId() foundation.NSNumber
	OutputSets() foundation.INSArray
	ProcedureIndex() foundation.NSNumber
	SignalEvents() foundation.INSArray
	TransactionHandle() foundation.NSNumber
	Validate() bool
	InitWithCoder(coder foundation.INSCoder) ANEChainingRequest
	InitWithInputsOutputsLbInputSymbolIdLbOutputSymbolIdProcedureIndexSignalEventsTransactionHandleFwEnqueueDelayMemoryPoolId(inputs objectivec.IObject, outputs objectivec.IObject, id objectivec.IObject, id2 objectivec.IObject, index objectivec.IObject, events objectivec.IObject, handle objectivec.IObject, delay objectivec.IObject, id3 objectivec.IObject) ANEChainingRequest
}

An interface definition for the ANEChainingRequest class.

Methods

  • [IANEChainingRequest.EncodeWithCoder]
  • [IANEChainingRequest.FwEnqueueDelay]
  • [IANEChainingRequest.InputBuffer]
  • [IANEChainingRequest.LoopbackInputSymbolIndex]
  • [IANEChainingRequest.LoopbackOutputSymbolIndex]
  • [IANEChainingRequest.MemoryPoolId]
  • [IANEChainingRequest.OutputSets]
  • [IANEChainingRequest.ProcedureIndex]
  • [IANEChainingRequest.SignalEvents]
  • [IANEChainingRequest.TransactionHandle]
  • [IANEChainingRequest.Validate]
  • [IANEChainingRequest.InitWithCoder]
  • [IANEChainingRequest.InitWithInputsOutputsLbInputSymbolIdLbOutputSymbolIdProcedureIndexSignalEventsTransactionHandleFwEnqueueDelayMemoryPoolId]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEChainingRequest

type IANEClient

type IANEClient interface {
	objectivec.IObject

	AllowRestrictedAccess() bool
	BeginRealTimeTask() bool
	BuffersReadyWithModelInputBuffersOptionsQosError(model objectivec.IObject, buffers objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	CompileModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	CompiledModelExistsFor(for_ objectivec.IObject) bool
	CompiledModelExistsMatchingHash(hash objectivec.IObject) bool
	Conn() *ANEDaemonConnection
	ConnectionForLoadingModelOptions(model objectivec.IObject, options objectivec.IObject) objectivec.IObject
	ConnectionUsedForLoadingModel(model objectivec.IObject) objectivec.IObject
	Connections() foundation.INSDictionary
	ConnectionsUsedForLoadingModels() foundation.INSDictionary
	DoBuffersReadyWithModelInputBuffersOptionsQosError(model objectivec.IObject, buffers objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	DoEnqueueSetsWithModelOutputSetOptionsQosError(model objectivec.IObject, set *ANEOutputSetEnqueue, options objectivec.IObject, qos uint32) (bool, error)
	DoEvaluateDirectWithModelOptionsRequestQosError(model objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32) (bool, error)
	DoLoadModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	DoLoadModelNewInstanceOptionsModelInstParamsQosError(instance objectivec.IObject, options objectivec.IObject, params objectivec.IObject, qos uint32) (bool, error)
	DoPrepareChainingWithModelOptionsChainingReqQosError(model objectivec.IObject, options objectivec.IObject, req objectivec.IObject, qos uint32) (bool, error)
	DoUnloadModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	Echo(echo objectivec.IObject) bool
	EndRealTimeTask() bool
	EnqueueSetsWithModelOutputSetOptionsQosError(model objectivec.IObject, set *ANEOutputSetEnqueue, options objectivec.IObject, qos uint32) (bool, error)
	EvaluateRealTimeWithModelOptionsRequestError(model objectivec.IObject, options objectivec.IObject, request objectivec.IObject) (bool, error)
	EvaluateWithModelOptionsRequestQosError(model objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32) (bool, error)
	FastConn() *ANEDaemonConnection
	FastConnWithoutLock() objectivec.IObject
	IsAnetoolRootDaemonConnection() bool
	IsRootDaemon() bool
	IsVirtualClient() bool
	LoadModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	LoadModelNewInstanceOptionsModelInstParamsQosError(instance objectivec.IObject, options objectivec.IObject, params objectivec.IObject, qos uint32) (bool, error)
	LoadRealTimeModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	MapIOSurfacesWithModelRequestCacheInferenceError(model objectivec.IObject, request objectivec.IObject, inference bool) (bool, error)
	PrepareChainingWithModelOptionsChainingReqQosError(model objectivec.IObject, options objectivec.IObject, req objectivec.IObject, qos uint32) (bool, error)
	PriorityQ() foundation.INSArray
	PurgeCompiledModel(model objectivec.IObject)
	PurgeCompiledModelMatchingHash(hash objectivec.IObject)
	ReportEvaluateFailureFailureReasonQIdx(failure objectivec.IObject, reason uint32, idx uint64)
	SessionHintWithModelHintOptionsReportError(model objectivec.IObject, hint objectivec.IObject, options objectivec.IObject, report objectivec.IObject) (bool, error)
	UnloadModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	UnloadRealTimeModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	UnmapIOSurfacesWithModelRequest(model objectivec.IObject, request objectivec.IObject)
	VirtualClient() *ANEVirtualClient
	InitWithRestrictedAccessAllowed(allowed bool) ANEClient
}

An interface definition for the ANEClient class.

Methods

  • [IANEClient.AllowRestrictedAccess]
  • [IANEClient.BeginRealTimeTask]
  • [IANEClient.BuffersReadyWithModelInputBuffersOptionsQosError]
  • [IANEClient.CompileModelOptionsQosError]
  • [IANEClient.CompiledModelExistsFor]
  • [IANEClient.CompiledModelExistsMatchingHash]
  • [IANEClient.Conn]
  • [IANEClient.ConnectionForLoadingModelOptions]
  • [IANEClient.ConnectionUsedForLoadingModel]
  • [IANEClient.Connections]
  • [IANEClient.ConnectionsUsedForLoadingModels]
  • [IANEClient.DoBuffersReadyWithModelInputBuffersOptionsQosError]
  • [IANEClient.DoEnqueueSetsWithModelOutputSetOptionsQosError]
  • [IANEClient.DoEvaluateDirectWithModelOptionsRequestQosError]
  • [IANEClient.DoLoadModelOptionsQosError]
  • [IANEClient.DoLoadModelNewInstanceOptionsModelInstParamsQosError]
  • [IANEClient.DoPrepareChainingWithModelOptionsChainingReqQosError]
  • [IANEClient.DoUnloadModelOptionsQosError]
  • [IANEClient.Echo]
  • [IANEClient.EndRealTimeTask]
  • [IANEClient.EnqueueSetsWithModelOutputSetOptionsQosError]
  • [IANEClient.EvaluateRealTimeWithModelOptionsRequestError]
  • [IANEClient.EvaluateWithModelOptionsRequestQosError]
  • [IANEClient.FastConn]
  • [IANEClient.FastConnWithoutLock]
  • [IANEClient.IsAnetoolRootDaemonConnection]
  • [IANEClient.IsRootDaemon]
  • [IANEClient.IsVirtualClient]
  • [IANEClient.LoadModelOptionsQosError]
  • [IANEClient.LoadModelNewInstanceOptionsModelInstParamsQosError]
  • [IANEClient.LoadRealTimeModelOptionsQosError]
  • [IANEClient.MapIOSurfacesWithModelRequestCacheInferenceError]
  • [IANEClient.PrepareChainingWithModelOptionsChainingReqQosError]
  • [IANEClient.PriorityQ]
  • [IANEClient.PurgeCompiledModel]
  • [IANEClient.PurgeCompiledModelMatchingHash]
  • [IANEClient.ReportEvaluateFailureFailureReasonQIdx]
  • [IANEClient.SessionHintWithModelHintOptionsReportError]
  • [IANEClient.UnloadModelOptionsQosError]
  • [IANEClient.UnloadRealTimeModelOptionsQosError]
  • [IANEClient.UnmapIOSurfacesWithModelRequest]
  • [IANEClient.VirtualClient]
  • [IANEClient.InitWithRestrictedAccessAllowed]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEClient

type IANECloneHelper

type IANECloneHelper interface {
	objectivec.IObject
}

An interface definition for the ANECloneHelper class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECloneHelper

type IANECompiler

type IANECompiler interface {
	objectivec.IObject
}

An interface definition for the ANECompiler class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECompiler

type IANECompilerAnalytics

type IANECompilerAnalytics interface {
	objectivec.IObject

	AnalyticsBuffer() foundation.INSData
	BufferSizeInBytes() foundation.NSNumber
	DataInfoAt(at uint64) AnalyticsDataRef
	GetBOOLDataValueAt(at uint64) bool
	GetDataValueAt(at uint64) uint64
	GroupInfoAt(at uint64) AnalyticsGroupInfoRef
	LayerInfoAt(at uint64) AnalyticsLayerInfoRef
	OffsetTableAtCount(at uint64, count uint32) AnalyticsOffsetTableRef
	PopulateAnalytics() bool
	ProcedureAnalytics() foundation.INSArray
	SetProcedureAnalytics(value foundation.INSArray)
	ProcedureInfoAt(at uint64) AnalyticsProcedureInfoRef
	Serialize() objectivec.IObject
	StringForAnalyticsType(type_ uint32) objectivec.IObject
	TaskInfoAt(at uint64) AnalyticsTaskInfoRef
	InitWithBuffer(buffer objectivec.IObject) ANECompilerAnalytics
}

An interface definition for the ANECompilerAnalytics class.

Methods

  • [IANECompilerAnalytics.AnalyticsBuffer]
  • [IANECompilerAnalytics.BufferSizeInBytes]
  • [IANECompilerAnalytics.DataInfoAt]
  • [IANECompilerAnalytics.GetBOOLDataValueAt]
  • [IANECompilerAnalytics.GetDataValueAt]
  • [IANECompilerAnalytics.GroupInfoAt]
  • [IANECompilerAnalytics.LayerInfoAt]
  • [IANECompilerAnalytics.OffsetTableAtCount]
  • [IANECompilerAnalytics.PopulateAnalytics]
  • [IANECompilerAnalytics.ProcedureAnalytics]
  • [IANECompilerAnalytics.SetProcedureAnalytics]
  • [IANECompilerAnalytics.ProcedureInfoAt]
  • [IANECompilerAnalytics.Serialize]
  • [IANECompilerAnalytics.StringForAnalyticsType]
  • [IANECompilerAnalytics.TaskInfoAt]
  • [IANECompilerAnalytics.InitWithBuffer]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECompilerAnalytics

type IANECompilerService

type IANECompilerService interface {
	objectivec.IObject

	CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathWithReply(at objectivec.IObject, identity objectivec.IObject, extension objectivec.IObject, options objectivec.IObject, directory objectivec.IObject, directory2 objectivec.IObject, url foundation.INSURL, path objectivec.IObject, reply VoidHandler)
}

An interface definition for the ANECompilerService class.

Methods

  • [IANECompilerService.CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathWithReply]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECompilerService

type IANECoreMLModelCompiler

type IANECoreMLModelCompiler interface {
	objectivec.IObject
}

An interface definition for the ANECoreMLModelCompiler class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANECoreMLModelCompiler

type IANEDaemonConnection

type IANEDaemonConnection interface {
	objectivec.IObject

	BeginRealTimeTaskWithReply(reply VoidHandler)
	CompileModelSandboxExtensionOptionsQosWithReply(model objectivec.IObject, extension objectivec.IObject, options objectivec.IObject, qos uint32, reply VoidHandler)
	CompiledModelExistsForWithReply(for_ objectivec.IObject, reply VoidHandler)
	CompiledModelExistsMatchingHashWithReply(hash objectivec.IObject, reply VoidHandler)
	DaemonConnection() foundation.NSXPCConnection
	EchoWithReply(echo objectivec.IObject, reply VoidHandler)
	EndRealTimeTaskWithReply(reply VoidHandler)
	LoadModelSandboxExtensionOptionsQosWithReply(model objectivec.IObject, extension objectivec.IObject, options objectivec.IObject, qos uint32, reply VoidHandler)
	LoadModelNewInstanceOptionsModelInstParamsQosWithReply(instance objectivec.IObject, options objectivec.IObject, params objectivec.IObject, qos uint32, reply VoidHandler)
	PrepareChainingWithModelOptionsChainingReqQosWithReply(model objectivec.IObject, options objectivec.IObject, req objectivec.IObject, qos uint32, reply VoidHandler)
	PurgeCompiledModelWithReply(model objectivec.IObject, reply VoidHandler)
	PurgeCompiledModelMatchingHashWithReply(hash objectivec.IObject, reply VoidHandler)
	ReportTelemetryToPPSPlayload(pps objectivec.IObject, playload objectivec.IObject)
	Restricted() bool
	UnloadModelOptionsQosWithReply(model objectivec.IObject, options objectivec.IObject, qos uint32, reply VoidHandler)
	InitWithMachServiceNameRestricted(name objectivec.IObject, restricted bool) ANEDaemonConnection
}

An interface definition for the ANEDaemonConnection class.

Methods

  • [IANEDaemonConnection.BeginRealTimeTaskWithReply]
  • [IANEDaemonConnection.CompileModelSandboxExtensionOptionsQosWithReply]
  • [IANEDaemonConnection.CompiledModelExistsForWithReply]
  • [IANEDaemonConnection.CompiledModelExistsMatchingHashWithReply]
  • [IANEDaemonConnection.DaemonConnection]
  • [IANEDaemonConnection.EchoWithReply]
  • [IANEDaemonConnection.EndRealTimeTaskWithReply]
  • [IANEDaemonConnection.LoadModelSandboxExtensionOptionsQosWithReply]
  • [IANEDaemonConnection.LoadModelNewInstanceOptionsModelInstParamsQosWithReply]
  • [IANEDaemonConnection.PrepareChainingWithModelOptionsChainingReqQosWithReply]
  • [IANEDaemonConnection.PurgeCompiledModelWithReply]
  • [IANEDaemonConnection.PurgeCompiledModelMatchingHashWithReply]
  • [IANEDaemonConnection.ReportTelemetryToPPSPlayload]
  • [IANEDaemonConnection.Restricted]
  • [IANEDaemonConnection.UnloadModelOptionsQosWithReply]
  • [IANEDaemonConnection.InitWithMachServiceNameRestricted]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDaemonConnection

type IANEDataReporter

type IANEDataReporter interface {
	objectivec.IObject
}

An interface definition for the ANEDataReporter class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDataReporter

type IANEDeviceController

type IANEDeviceController interface {
	objectivec.IObject

	Device() unsafe.Pointer
	SetDevice(value unsafe.Pointer)
	IsPrivileged() bool
	ProgramHandle() uint64
	Start()
	Stop()
	Usecount() int64
	SetUsecount(value int64)
	InitWithANEPrivilegedVM(vm bool) ANEDeviceController
	InitWithProgramHandlePriviledged(handle uint64, priviledged bool) ANEDeviceController
}

An interface definition for the ANEDeviceController class.

Methods

  • [IANEDeviceController.Device]
  • [IANEDeviceController.SetDevice]
  • [IANEDeviceController.IsPrivileged]
  • [IANEDeviceController.ProgramHandle]
  • [IANEDeviceController.Start]
  • [IANEDeviceController.Stop]
  • [IANEDeviceController.Usecount]
  • [IANEDeviceController.SetUsecount]
  • [IANEDeviceController.InitWithANEPrivilegedVM]
  • [IANEDeviceController.InitWithProgramHandlePriviledged]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDeviceController

type IANEDeviceInfo

type IANEDeviceInfo interface {
	objectivec.IObject
}

An interface definition for the ANEDeviceInfo class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEDeviceInfo

type IANEErrors

type IANEErrors interface {
	objectivec.IObject
}

An interface definition for the ANEErrors class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEErrors

type IANEEspressoIRTranslator

type IANEEspressoIRTranslator interface {
	objectivec.IObject
}

An interface definition for the ANEEspressoIRTranslator class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEEspressoIRTranslator

type IANEHashEncoding

type IANEHashEncoding interface {
	objectivec.IObject
}

An interface definition for the ANEHashEncoding class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEHashEncoding

type IANEIOSurfaceObject

type IANEIOSurfaceObject interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
	IoSurface() coregraphics.IOSurfaceRef
	MetalBufferWithDeviceMultiBufferFrame(device objectivec.IObject, frame uint64) metal.MTLBuffer
	StartOffset() foundation.NSNumber
	InitWithCoder(coder foundation.INSCoder) ANEIOSurfaceObject
	InitWithIOSurfaceStartOffsetShouldRetain(iOSurface coregraphics.IOSurfaceRef, offset objectivec.IObject, retain bool) ANEIOSurfaceObject
}

An interface definition for the ANEIOSurfaceObject class.

Methods

  • [IANEIOSurfaceObject.EncodeWithCoder]
  • [IANEIOSurfaceObject.IoSurface]
  • [IANEIOSurfaceObject.MetalBufferWithDeviceMultiBufferFrame]
  • [IANEIOSurfaceObject.StartOffset]
  • [IANEIOSurfaceObject.InitWithCoder]
  • [IANEIOSurfaceObject.InitWithIOSurfaceStartOffsetShouldRetain]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceObject

type IANEIOSurfaceOutputSets

type IANEIOSurfaceOutputSets interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
	OutputBuffer() foundation.INSArray
	StatsSurRef() coregraphics.IOSurfaceRef
	InitWithCoder(coder foundation.INSCoder) ANEIOSurfaceOutputSets
	InitWithstatsSurRefOutputBuffer(ref coregraphics.IOSurfaceRef, buffer objectivec.IObject) ANEIOSurfaceOutputSets
}

An interface definition for the ANEIOSurfaceOutputSets class.

Methods

  • [IANEIOSurfaceOutputSets.EncodeWithCoder]
  • [IANEIOSurfaceOutputSets.OutputBuffer]
  • [IANEIOSurfaceOutputSets.StatsSurRef]
  • [IANEIOSurfaceOutputSets.InitWithCoder]
  • [IANEIOSurfaceOutputSets.InitWithstatsSurRefOutputBuffer]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEIOSurfaceOutputSets

type IANEInMemoryModel

type IANEInMemoryModel interface {
	objectivec.IObject

	CompileWithQoSOptionsError(s uint32, options objectivec.IObject) (bool, error)
	CompiledModelExists() bool
	CompilerOptionsFileName() string
	SetCompilerOptionsFileName(value string)
	CompilerOptionsWithOptionsIsCompiledModelCached(options objectivec.IObject, cached bool) objectivec.IObject
	Descriptor() *ANEInMemoryModelDescriptor
	SetDescriptor(value *ANEInMemoryModelDescriptor)
	EvaluateWithQoSOptionsRequestError(s uint32, options objectivec.IObject, request objectivec.IObject) (bool, error)
	HexStringIdentifier() string
	IntermediateBufferHandle() uint64
	SetIntermediateBufferHandle(value uint64)
	IsMILModel() bool
	LoadWithQoSOptionsError(s uint32, options objectivec.IObject) (bool, error)
	LocalModelPath() objectivec.IObject
	MapIOSurfacesWithRequestCacheInferenceError(request objectivec.IObject, inference bool) (bool, error)
	Model() *ANEModel
	SetModel(value *ANEModel)
	ModelAttributes() foundation.INSDictionary
	SetModelAttributes(value foundation.INSDictionary)
	ModelURL() foundation.INSURL
	SetModelURL(value foundation.INSURL)
	PerfStatsMask() uint32
	SetPerfStatsMask(value uint32)
	Program() *ANEProgramForEvaluation
	SetProgram(value *ANEProgramForEvaluation)
	ProgramHandle() uint64
	SetProgramHandle(value uint64)
	PurgeCompiledModel()
	QueueDepth() int8
	SetQueueDepth(value int8)
	SaveModelFiles() objectivec.IObject
	SharedConnection() *ANEClient
	State() uint64
	SetState(value uint64)
	String_id() uint64
	UnloadWithQoSError(s uint32) (bool, error)
	UnmapIOSurfacesWithRequest(request objectivec.IObject)
	InitWithDesctiptor(desctiptor objectivec.IObject) ANEInMemoryModel
}

An interface definition for the ANEInMemoryModel class.

Methods

  • [IANEInMemoryModel.CompileWithQoSOptionsError]
  • [IANEInMemoryModel.CompiledModelExists]
  • [IANEInMemoryModel.CompilerOptionsFileName]
  • [IANEInMemoryModel.SetCompilerOptionsFileName]
  • [IANEInMemoryModel.CompilerOptionsWithOptionsIsCompiledModelCached]
  • [IANEInMemoryModel.Descriptor]
  • [IANEInMemoryModel.SetDescriptor]
  • [IANEInMemoryModel.EvaluateWithQoSOptionsRequestError]
  • [IANEInMemoryModel.HexStringIdentifier]
  • [IANEInMemoryModel.IntermediateBufferHandle]
  • [IANEInMemoryModel.SetIntermediateBufferHandle]
  • [IANEInMemoryModel.IsMILModel]
  • [IANEInMemoryModel.LoadWithQoSOptionsError]
  • [IANEInMemoryModel.LocalModelPath]
  • [IANEInMemoryModel.MapIOSurfacesWithRequestCacheInferenceError]
  • [IANEInMemoryModel.Model]
  • [IANEInMemoryModel.SetModel]
  • [IANEInMemoryModel.ModelAttributes]
  • [IANEInMemoryModel.SetModelAttributes]
  • [IANEInMemoryModel.ModelURL]
  • [IANEInMemoryModel.SetModelURL]
  • [IANEInMemoryModel.PerfStatsMask]
  • [IANEInMemoryModel.SetPerfStatsMask]
  • [IANEInMemoryModel.Program]
  • [IANEInMemoryModel.SetProgram]
  • [IANEInMemoryModel.ProgramHandle]
  • [IANEInMemoryModel.SetProgramHandle]
  • [IANEInMemoryModel.PurgeCompiledModel]
  • [IANEInMemoryModel.QueueDepth]
  • [IANEInMemoryModel.SetQueueDepth]
  • [IANEInMemoryModel.SaveModelFiles]
  • [IANEInMemoryModel.SharedConnection]
  • [IANEInMemoryModel.State]
  • [IANEInMemoryModel.SetState]
  • [IANEInMemoryModel.String_id]
  • [IANEInMemoryModel.UnloadWithQoSError]
  • [IANEInMemoryModel.UnmapIOSurfacesWithRequest]
  • [IANEInMemoryModel.InitWithDesctiptor]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModel

type IANEInMemoryModelCacheManager

type IANEInMemoryModelCacheManager interface {
	objectivec.IObject

	URLForBundleID(id objectivec.IObject) objectivec.IObject
	URLForModelHashBundleID(hash objectivec.IObject, id objectivec.IObject) objectivec.IObject
	CacheDir() foundation.INSURL
	CachedModelPathMatchingHashCsIdentity(hash objectivec.IObject, identity objectivec.IObject) objectivec.IObject
	GetDiskSpaceForBundleID(id objectivec.IObject) objectivec.IObject
	GetDiskSpaceItemizedByBundleIDAndPurge(purge bool) objectivec.IObject
	RemoveAllModelsForBundleID(id objectivec.IObject) bool
	RemoveStaleModels() bool
	ScheduleMaintenanceWithNameDirectoryPaths(name objectivec.IObject, paths objectivec.IObject)
	ShouldEnforceSizeLimits() bool
	InitWithURL(url foundation.INSURL) ANEInMemoryModelCacheManager
	InitWithURLCreateDirectory(url foundation.INSURL, directory bool) ANEInMemoryModelCacheManager
}

An interface definition for the ANEInMemoryModelCacheManager class.

Methods

  • [IANEInMemoryModelCacheManager.URLForBundleID]
  • [IANEInMemoryModelCacheManager.URLForModelHashBundleID]
  • [IANEInMemoryModelCacheManager.CacheDir]
  • [IANEInMemoryModelCacheManager.CachedModelPathMatchingHashCsIdentity]
  • [IANEInMemoryModelCacheManager.GetDiskSpaceForBundleID]
  • [IANEInMemoryModelCacheManager.GetDiskSpaceItemizedByBundleIDAndPurge]
  • [IANEInMemoryModelCacheManager.RemoveAllModelsForBundleID]
  • [IANEInMemoryModelCacheManager.RemoveStaleModels]
  • [IANEInMemoryModelCacheManager.ScheduleMaintenanceWithNameDirectoryPaths]
  • [IANEInMemoryModelCacheManager.ShouldEnforceSizeLimits]
  • [IANEInMemoryModelCacheManager.InitWithURL]
  • [IANEInMemoryModelCacheManager.InitWithURLCreateDirectory]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModelCacheManager

type IANEInMemoryModelDescriptor

type IANEInMemoryModelDescriptor interface {
	objectivec.IObject

	HexStringIdentifier() objectivec.IObject
	IsEqualToInMemoryModelDescriptor(descriptor objectivec.IObject) bool
	IsMILModel() bool
	NetworkText() foundation.INSData
	NetworkTextHash() string
	OptionsPlist() foundation.INSData
	OptionsPlistHash() string
	Weights() foundation.INSDictionary
	WeightsHash() string
	InitWithNetworkTextWeightsOptionsPlistIsMILModel(text objectivec.IObject, weights objectivec.IObject, plist objectivec.IObject, mILModel bool) ANEInMemoryModelDescriptor
}

An interface definition for the ANEInMemoryModelDescriptor class.

Methods

  • [IANEInMemoryModelDescriptor.HexStringIdentifier]
  • [IANEInMemoryModelDescriptor.IsEqualToInMemoryModelDescriptor]
  • [IANEInMemoryModelDescriptor.IsMILModel]
  • [IANEInMemoryModelDescriptor.NetworkText]
  • [IANEInMemoryModelDescriptor.NetworkTextHash]
  • [IANEInMemoryModelDescriptor.OptionsPlist]
  • [IANEInMemoryModelDescriptor.OptionsPlistHash]
  • [IANEInMemoryModelDescriptor.Weights]
  • [IANEInMemoryModelDescriptor.WeightsHash]
  • [IANEInMemoryModelDescriptor.InitWithNetworkTextWeightsOptionsPlistIsMILModel]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInMemoryModelDescriptor

type IANEInputBuffersReady

type IANEInputBuffersReady interface {
	objectivec.IObject

	ExecutionDelay() uint64
	InputBufferInfoIndex() foundation.INSArray
	InputFreeValue() foundation.INSArray
	ProcedureIndex() uint32
	Validate() bool
	InitInputsProcedureIndexInputBufferInfoIndexInputFreeValueExecutionDelay(index uint32, index2 objectivec.IObject, value objectivec.IObject, delay uint64) ANEInputBuffersReady
}

An interface definition for the ANEInputBuffersReady class.

Methods

  • [IANEInputBuffersReady.ExecutionDelay]
  • [IANEInputBuffersReady.InputBufferInfoIndex]
  • [IANEInputBuffersReady.InputFreeValue]
  • [IANEInputBuffersReady.ProcedureIndex]
  • [IANEInputBuffersReady.Validate]
  • [IANEInputBuffersReady.InitInputsProcedureIndexInputBufferInfoIndexInputFreeValueExecutionDelay]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEInputBuffersReady

type IANELog

type IANELog interface {
	objectivec.IObject
}

An interface definition for the ANELog class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANELog

type IANEMILCompiler

type IANEMILCompiler interface {
	objectivec.IObject
}

An interface definition for the ANEMILCompiler class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEMILCompiler

type IANEMLIRCompiler

type IANEMLIRCompiler interface {
	objectivec.IObject
}

An interface definition for the ANEMLIRCompiler class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEMLIRCompiler

type IANEModel

type IANEModel interface {
	objectivec.IObject

	UUID() foundation.NSUUID
	CacheURLIdentifier() string
	SetCacheURLIdentifier(value string)
	EncodeWithCoder(coder foundation.INSCoder)
	GetCacheURLIdentifier() objectivec.IObject
	GetUUID() objectivec.IObject
	IdentifierSource() int64
	InputSymbolIndicesForProcedureIndex(index uint32) objectivec.IObject
	IntermediateBufferHandle() uint64
	SetIntermediateBufferHandle(value uint64)
	IsEqualToModel(model objectivec.IObject) bool
	Key() string
	L() objectivec.IObject
	SetL(value objectivec.IObject)
	Mapper() *ANEProgramIOSurfacesMapper
	SetMapper(value *ANEProgramIOSurfacesMapper)
	ModelAttributes() foundation.INSDictionary
	SetModelAttributes(value foundation.INSDictionary)
	ModelURL() foundation.INSURL
	MpsConstants() foundation.INSDictionary
	OutputSymbolIndicesForProcedureIndex(index uint32) objectivec.IObject
	PerfStatsMask() uint32
	SetPerfStatsMask(value uint32)
	ProcedureInfoForProcedureIndex(index uint32) objectivec.IObject
	Program() *ANEProgramForEvaluation
	SetProgram(value *ANEProgramForEvaluation)
	ProgramHandle() uint64
	SetProgramHandle(value uint64)
	QueueDepth() int8
	SetQueueDepth(value int8)
	ResetOnUnload()
	ShallowCopy() objectivec.IObject
	SourceURL() foundation.INSURL
	State() uint64
	SetState(value uint64)
	String_id() uint64
	SetString_id(value uint64)
	SymbolIndicesForProcedureIndexIndexArrayKey(index uint32, key objectivec.IObject) objectivec.IObject
	UpdateModelAttributesState(attributes objectivec.IObject, state uint64)
	UpdateModelAttributesStateProgramHandleIntermediateBufferHandleQueueDepth(attributes objectivec.IObject, state uint64, handle uint64, handle2 uint64, depth int8)
	InitWithCoder(coder foundation.INSCoder) ANEModel
	InitWithModelAtURLKeyIdentifierSourceCacheURLIdentifierModelAttributesStandardizeURL(url foundation.INSURL, key objectivec.IObject, source int64, uRLIdentifier objectivec.IObject, attributes objectivec.IObject, url2 bool) ANEModel
	InitWithModelAtURLSourceURLUUIDKeyIdentifierSourceCacheURLIdentifierModelAttributesStandardizeURLString_idGenerateNewStringId(url foundation.INSURL, url2 foundation.INSURL, uid objectivec.IObject, key objectivec.IObject, source int64, uRLIdentifier objectivec.IObject, attributes objectivec.IObject, url3 bool, string_id uint64, id bool) ANEModel
	InitWithModelAtURLSourceURLUUIDKeyIdentifierSourceCacheURLIdentifierModelAttributesStandardizeURLString_idGenerateNewStringIdMpsConstants(url foundation.INSURL, url2 foundation.INSURL, uid objectivec.IObject, key objectivec.IObject, source int64, uRLIdentifier objectivec.IObject, attributes objectivec.IObject, url3 bool, string_id uint64, id bool, constants objectivec.IObject) ANEModel
	InitWithModelIdentifier(identifier objectivec.IObject) ANEModel
}

An interface definition for the ANEModel class.

Methods

  • [IANEModel.UUID]
  • [IANEModel.CacheURLIdentifier]
  • [IANEModel.SetCacheURLIdentifier]
  • [IANEModel.EncodeWithCoder]
  • [IANEModel.GetCacheURLIdentifier]
  • [IANEModel.GetUUID]
  • [IANEModel.IdentifierSource]
  • [IANEModel.InputSymbolIndicesForProcedureIndex]
  • [IANEModel.IntermediateBufferHandle]
  • [IANEModel.SetIntermediateBufferHandle]
  • [IANEModel.IsEqualToModel]
  • [IANEModel.Key]
  • [IANEModel.L]
  • [IANEModel.SetL]
  • [IANEModel.Mapper]
  • [IANEModel.SetMapper]
  • [IANEModel.ModelAttributes]
  • [IANEModel.SetModelAttributes]
  • [IANEModel.ModelURL]
  • [IANEModel.MpsConstants]
  • [IANEModel.OutputSymbolIndicesForProcedureIndex]
  • [IANEModel.PerfStatsMask]
  • [IANEModel.SetPerfStatsMask]
  • [IANEModel.ProcedureInfoForProcedureIndex]
  • [IANEModel.Program]
  • [IANEModel.SetProgram]
  • [IANEModel.ProgramHandle]
  • [IANEModel.SetProgramHandle]
  • [IANEModel.QueueDepth]
  • [IANEModel.SetQueueDepth]
  • [IANEModel.ResetOnUnload]
  • [IANEModel.ShallowCopy]
  • [IANEModel.SourceURL]
  • [IANEModel.State]
  • [IANEModel.SetState]
  • [IANEModel.String_id]
  • [IANEModel.SetString_id]
  • [IANEModel.SymbolIndicesForProcedureIndexIndexArrayKey]
  • [IANEModel.UpdateModelAttributesState]
  • [IANEModel.UpdateModelAttributesStateProgramHandleIntermediateBufferHandleQueueDepth]
  • [IANEModel.InitWithCoder]
  • [IANEModel.InitWithModelAtURLKeyIdentifierSourceCacheURLIdentifierModelAttributesStandardizeURL]
  • [IANEModel.InitWithModelAtURLSourceURLUUIDKeyIdentifierSourceCacheURLIdentifierModelAttributesStandardizeURLString_idGenerateNewStringId]
  • [IANEModel.InitWithModelAtURLSourceURLUUIDKeyIdentifierSourceCacheURLIdentifierModelAttributesStandardizeURLString_idGenerateNewStringIdMpsConstants]
  • [IANEModel.InitWithModelIdentifier]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModel

type IANEModelCacheManager

type IANEModelCacheManager interface {
	objectivec.IObject

	URLForBundleID(id objectivec.IObject) objectivec.IObject
	URLForModelBundleID(model objectivec.IObject, id objectivec.IObject) objectivec.IObject
	URLForModelBundleIDAotCacheUrlIdentifier(model objectivec.IObject, id objectivec.IObject, identifier objectivec.IObject) objectivec.IObject
	URLForModelBundleIDForAllSegments(model objectivec.IObject, id objectivec.IObject, segments bool) objectivec.IObject
	URLForModelBundleIDForAllSegmentsAotCacheUrlIdentifier(model objectivec.IObject, id objectivec.IObject, segments bool, identifier objectivec.IObject) objectivec.IObject
	URLForModelBundleIDUseSourceURL(model objectivec.IObject, id objectivec.IObject, url bool) objectivec.IObject
	URLForModelBundleIDUseSourceURLAotCacheUrlIdentifier(model objectivec.IObject, id objectivec.IObject, url bool, identifier objectivec.IObject) objectivec.IObject
	URLForModelBundleIDUseSourceURLForAllSegmentsAotCacheUrlIdentifier(model objectivec.IObject, id objectivec.IObject, url bool, segments bool, identifier objectivec.IObject) objectivec.IObject
	CacheDir() foundation.INSURL
	CacheURLIdentifierForModelUseSourceURLWithReply(model objectivec.IObject, url bool, reply VoidHandler) bool
	CachedModelAllSegmentsPathForCsIdentity(for_ objectivec.IObject, identity objectivec.IObject) objectivec.IObject
	CachedModelPathForCsIdentity(for_ objectivec.IObject, identity objectivec.IObject) objectivec.IObject
	CachedModelPathForCsIdentityUseSourceURL(for_ objectivec.IObject, identity objectivec.IObject, url bool) objectivec.IObject
	CachedModelRetainNameForCsIdentity(for_ objectivec.IObject, identity objectivec.IObject) objectivec.IObject
	CachedSourceModelStoreNameForCsIdentity(for_ objectivec.IObject, identity objectivec.IObject) objectivec.IObject
	FilePathForModelBundleID(model objectivec.IObject, id objectivec.IObject) objectivec.IObject
	GarbageCollectDanglingModels() bool
	GetDiskSpaceForBundleID(id objectivec.IObject) objectivec.IObject
	GetDiskSpaceItemizedByBundleIDAndPurge(purge bool) objectivec.IObject
	GetModelBinaryPathFromURLIdentifierBundleID(uRLIdentifier objectivec.IObject, id objectivec.IObject) objectivec.IObject
	RemoveAllModelsForBundleID(id objectivec.IObject) bool
	ScanAllPartitionsForModelCsIdentityExpunge(model objectivec.IObject, identity objectivec.IObject, expunge bool) bool
	ScheduleMaintenanceWithNameDirectoryPaths(name objectivec.IObject, paths objectivec.IObject)
	ShouldEnforceSizeLimits() bool
	StartDanglingModelGC()
	InitWithURL(url foundation.INSURL) ANEModelCacheManager
	InitWithURLCreateDirectory(url foundation.INSURL, directory bool) ANEModelCacheManager
}

An interface definition for the ANEModelCacheManager class.

Methods

  • [IANEModelCacheManager.URLForBundleID]
  • [IANEModelCacheManager.URLForModelBundleID]
  • [IANEModelCacheManager.URLForModelBundleIDAotCacheUrlIdentifier]
  • [IANEModelCacheManager.URLForModelBundleIDForAllSegments]
  • [IANEModelCacheManager.URLForModelBundleIDForAllSegmentsAotCacheUrlIdentifier]
  • [IANEModelCacheManager.URLForModelBundleIDUseSourceURL]
  • [IANEModelCacheManager.URLForModelBundleIDUseSourceURLAotCacheUrlIdentifier]
  • [IANEModelCacheManager.URLForModelBundleIDUseSourceURLForAllSegmentsAotCacheUrlIdentifier]
  • [IANEModelCacheManager.CacheDir]
  • [IANEModelCacheManager.CacheURLIdentifierForModelUseSourceURLWithReply]
  • [IANEModelCacheManager.CachedModelAllSegmentsPathForCsIdentity]
  • [IANEModelCacheManager.CachedModelPathForCsIdentity]
  • [IANEModelCacheManager.CachedModelPathForCsIdentityUseSourceURL]
  • [IANEModelCacheManager.CachedModelRetainNameForCsIdentity]
  • [IANEModelCacheManager.CachedSourceModelStoreNameForCsIdentity]
  • [IANEModelCacheManager.FilePathForModelBundleID]
  • [IANEModelCacheManager.GarbageCollectDanglingModels]
  • [IANEModelCacheManager.GetDiskSpaceForBundleID]
  • [IANEModelCacheManager.GetDiskSpaceItemizedByBundleIDAndPurge]
  • [IANEModelCacheManager.GetModelBinaryPathFromURLIdentifierBundleID]
  • [IANEModelCacheManager.RemoveAllModelsForBundleID]
  • [IANEModelCacheManager.ScanAllPartitionsForModelCsIdentityExpunge]
  • [IANEModelCacheManager.ScheduleMaintenanceWithNameDirectoryPaths]
  • [IANEModelCacheManager.ShouldEnforceSizeLimits]
  • [IANEModelCacheManager.StartDanglingModelGC]
  • [IANEModelCacheManager.InitWithURL]
  • [IANEModelCacheManager.InitWithURLCreateDirectory]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelCacheManager

type IANEModelInstanceParameters

type IANEModelInstanceParameters interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
	InstanceName() string
	ProcedureArray() foundation.INSArray
	InitWithCoder(coder foundation.INSCoder) ANEModelInstanceParameters
	InitWithProcedureDataProcedureArray(data objectivec.IObject, array objectivec.IObject) ANEModelInstanceParameters
}

An interface definition for the ANEModelInstanceParameters class.

Methods

  • [IANEModelInstanceParameters.EncodeWithCoder]
  • [IANEModelInstanceParameters.InstanceName]
  • [IANEModelInstanceParameters.ProcedureArray]
  • [IANEModelInstanceParameters.InitWithCoder]
  • [IANEModelInstanceParameters.InitWithProcedureDataProcedureArray]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelInstanceParameters

type IANEModelToken

type IANEModelToken interface {
	objectivec.IObject

	CsIdentity() string
	ModelIdentifier() string
	ProcessIdentifier() int
	TeamIdentity() string
	InitWithAuditTokenModelIdentifierProcessIdentifier(token objectivec.IObject, identifier objectivec.IObject, identifier2 int) ANEModelToken
	InitWithCsIdentityTeamIdentityModelIdentifierProcessIdentifier(identity objectivec.IObject, identity2 objectivec.IObject, identifier objectivec.IObject, identifier2 int) ANEModelToken
}

An interface definition for the ANEModelToken class.

Methods

  • [IANEModelToken.CsIdentity]
  • [IANEModelToken.ModelIdentifier]
  • [IANEModelToken.ProcessIdentifier]
  • [IANEModelToken.TeamIdentity]
  • [IANEModelToken.InitWithAuditTokenModelIdentifierProcessIdentifier]
  • [IANEModelToken.InitWithCsIdentityTeamIdentityModelIdentifierProcessIdentifier]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEModelToken

type IANEOutputSetEnqueue

type IANEOutputSetEnqueue interface {
	objectivec.IObject

	IsOpenLoop() bool
	ProcedureIndex() uint32
	SetIndex() uint32
	SignalNotRequired() bool
	SignalValue() uint64
	InitOutputSetWithProcedureIndexSetIndexSignalValueSignalNotRequiredIsOpenLoop(index uint32, index2 uint32, value uint64, required bool, loop bool) ANEOutputSetEnqueue
}

An interface definition for the ANEOutputSetEnqueue class.

Methods

  • [IANEOutputSetEnqueue.IsOpenLoop]
  • [IANEOutputSetEnqueue.ProcedureIndex]
  • [IANEOutputSetEnqueue.SetIndex]
  • [IANEOutputSetEnqueue.SignalNotRequired]
  • [IANEOutputSetEnqueue.SignalValue]
  • [IANEOutputSetEnqueue.InitOutputSetWithProcedureIndexSetIndexSignalValueSignalNotRequiredIsOpenLoop]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEOutputSetEnqueue

type IANEPerformanceStats

type IANEPerformanceStats interface {
	objectivec.IObject

	EmitPerfcounterSignpostsWithModelStringID(id uint64)
	HwExecutionTime() uint64
	PStatsRawData() foundation.INSData
	PerfCounterData() foundation.INSData
	PerformanceCounters() objectivec.IObject
	StringForPerfCounter(counter int) objectivec.IObject
	InitWithHardwareExecutionPerfCounterDataANEStatsRawData(execution uint64, data objectivec.IObject, data2 objectivec.IObject) ANEPerformanceStats
	InitWithReconstructedDataHardwareExecutionNS(data objectivec.IObject, ns uint64) ANEPerformanceStats
	InitWithRequestPerformanceBufferStatsBufferSize(buffer unsafe.Pointer, size unsafe.Pointer) ANEPerformanceStats
}

An interface definition for the ANEPerformanceStats class.

Methods

  • [IANEPerformanceStats.EmitPerfcounterSignpostsWithModelStringID]
  • [IANEPerformanceStats.HwExecutionTime]
  • [IANEPerformanceStats.PStatsRawData]
  • [IANEPerformanceStats.PerfCounterData]
  • [IANEPerformanceStats.PerformanceCounters]
  • [IANEPerformanceStats.StringForPerfCounter]
  • [IANEPerformanceStats.InitWithHardwareExecutionPerfCounterDataANEStatsRawData]
  • [IANEPerformanceStats.InitWithReconstructedDataHardwareExecutionNS]
  • [IANEPerformanceStats.InitWithRequestPerformanceBufferStatsBufferSize]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEPerformanceStats

type IANEPerformanceStatsIOSurface

type IANEPerformanceStatsIOSurface interface {
	objectivec.IObject

	StatType() int64
	Stats() *ANEIOSurfaceObject
	InitWithIOSurfaceStatType(iOSurface objectivec.IObject, type_ int64) ANEPerformanceStatsIOSurface
}

An interface definition for the ANEPerformanceStatsIOSurface class.

Methods

  • [IANEPerformanceStatsIOSurface.StatType]
  • [IANEPerformanceStatsIOSurface.Stats]
  • [IANEPerformanceStatsIOSurface.InitWithIOSurfaceStatType]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEPerformanceStatsIOSurface

type IANEProcedureData

type IANEProcedureData interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
	ProcedureSymbol() string
	WeightArray() foundation.INSArray
	InitWithCoder(coder foundation.INSCoder) ANEProcedureData
	InitWithProcedureWeightArray(procedure objectivec.IObject, array objectivec.IObject) ANEProcedureData
}

An interface definition for the ANEProcedureData class.

Methods

  • [IANEProcedureData.EncodeWithCoder]
  • [IANEProcedureData.ProcedureSymbol]
  • [IANEProcedureData.WeightArray]
  • [IANEProcedureData.InitWithCoder]
  • [IANEProcedureData.InitWithProcedureWeightArray]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEProcedureData

type IANEProgramForEvaluation

type IANEProgramForEvaluation interface {
	objectivec.IObject

	Controller() *ANEDeviceController
	CurrentAsyncRequestsInFlight() int64
	SetCurrentAsyncRequestsInFlight(value int64)
	IntermediateBufferHandle() uint64
	SetIntermediateBufferHandle(value uint64)
	ProcessInputBuffersModelOptionsError(buffers objectivec.IObject, model objectivec.IObject, options objectivec.IObject) (bool, error)
	ProcessOutputSetModelOptionsError(set objectivec.IObject, model objectivec.IObject, options objectivec.IObject) (bool, error)
	ProcessRequestModelQosQIndexModelStringIDOptionsReturnValueError(request objectivec.IObject, model objectivec.IObject, qos uint32, index uint64, id uint64, options objectivec.IObject, value unsafe.Pointer) (bool, error)
	ProcessSessionHintOptionsReportError(hint objectivec.IObject, options objectivec.IObject, report objectivec.IObject) (bool, error)
	ProgramHandle() uint64
	SetProgramHandle(value uint64)
	ProgramInferenceOtherErrorForMessageModelMethodName(message unsafe.Pointer, model objectivec.IObject, name objectivec.IObject) objectivec.IObject
	QueueDepth() int8
	RequestsInFlight() objectivec.Object
	InitWithControllerIntermediateBufferHandleQueueDepth(controller objectivec.IObject, handle uint64, depth int8) ANEProgramForEvaluation
}

An interface definition for the ANEProgramForEvaluation class.

Methods

  • [IANEProgramForEvaluation.Controller]
  • [IANEProgramForEvaluation.CurrentAsyncRequestsInFlight]
  • [IANEProgramForEvaluation.SetCurrentAsyncRequestsInFlight]
  • [IANEProgramForEvaluation.IntermediateBufferHandle]
  • [IANEProgramForEvaluation.SetIntermediateBufferHandle]
  • [IANEProgramForEvaluation.ProcessInputBuffersModelOptionsError]
  • [IANEProgramForEvaluation.ProcessOutputSetModelOptionsError]
  • [IANEProgramForEvaluation.ProcessRequestModelQosQIndexModelStringIDOptionsReturnValueError]
  • [IANEProgramForEvaluation.ProcessSessionHintOptionsReportError]
  • [IANEProgramForEvaluation.ProgramHandle]
  • [IANEProgramForEvaluation.SetProgramHandle]
  • [IANEProgramForEvaluation.ProgramInferenceOtherErrorForMessageModelMethodName]
  • [IANEProgramForEvaluation.QueueDepth]
  • [IANEProgramForEvaluation.RequestsInFlight]
  • [IANEProgramForEvaluation.InitWithControllerIntermediateBufferHandleQueueDepth]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEProgramForEvaluation

type IANEProgramIOSurfacesMapper

type IANEProgramIOSurfacesMapper interface {
	objectivec.IObject

	Controller() *ANEDeviceController
	DeviceController() *ANEDeviceController
	MapIOSurfacesWithModelRequestCacheInferenceError(model objectivec.IObject, request objectivec.IObject, inference bool) (bool, error)
	PrepareANEMemoryMappingParamsRequest(params unsafe.Pointer, request objectivec.IObject)
	ProgramHandle() uint64
	UnmapIOSurfacesWithModelRequestError(model objectivec.IObject, request objectivec.IObject) (bool, error)
	ValidateRequestModel(request objectivec.IObject, model objectivec.IObject) bool
	InitWithController(controller objectivec.IObject) ANEProgramIOSurfacesMapper
}

An interface definition for the ANEProgramIOSurfacesMapper class.

Methods

  • [IANEProgramIOSurfacesMapper.Controller]
  • [IANEProgramIOSurfacesMapper.DeviceController]
  • [IANEProgramIOSurfacesMapper.MapIOSurfacesWithModelRequestCacheInferenceError]
  • [IANEProgramIOSurfacesMapper.PrepareANEMemoryMappingParamsRequest]
  • [IANEProgramIOSurfacesMapper.ProgramHandle]
  • [IANEProgramIOSurfacesMapper.UnmapIOSurfacesWithModelRequestError]
  • [IANEProgramIOSurfacesMapper.ValidateRequestModel]
  • [IANEProgramIOSurfacesMapper.InitWithController]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEProgramIOSurfacesMapper

type IANEQoSMapper

type IANEQoSMapper interface {
	objectivec.IObject
}

An interface definition for the ANEQoSMapper class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEQoSMapper

type IANERequest

type IANERequest interface {
	objectivec.IObject

	InputArray() foundation.INSArray
	InputIndexArray() foundation.INSArray
	IoSurfacesCount() uint64
	OutputArray() foundation.INSArray
	OutputIndexArray() foundation.INSArray
	PerfStats() *ANEPerformanceStats
	SetPerfStats(value *ANEPerformanceStats)
	PerfStatsArray() foundation.INSArray
	ProcedureIndex() foundation.NSNumber
	SetCompletionHandler(handler BoolErrorHandler)
	SharedEvents() *ANESharedEvents
	SetSharedEvents(value *ANESharedEvents)
	TransactionHandle() foundation.NSNumber
	SetTransactionHandle(value foundation.NSNumber)
	Validate() bool
	WeightsBuffer() *ANEIOSurfaceObject
	InitWithInputsInputIndicesOutputsOutputIndicesWeightsBufferPerfStatsProcedureIndexSharedEventsTransactionHandle(inputs objectivec.IObject, indices objectivec.IObject, outputs objectivec.IObject, indices2 objectivec.IObject, buffer objectivec.IObject, stats objectivec.IObject, index objectivec.IObject, events objectivec.IObject, handle objectivec.IObject) ANERequest
	InitWithVirtualModel(model unsafe.Pointer) ANERequest
}

An interface definition for the ANERequest class.

Methods

  • [IANERequest.InputArray]
  • [IANERequest.InputIndexArray]
  • [IANERequest.IoSurfacesCount]
  • [IANERequest.OutputArray]
  • [IANERequest.OutputIndexArray]
  • [IANERequest.PerfStats]
  • [IANERequest.SetPerfStats]
  • [IANERequest.PerfStatsArray]
  • [IANERequest.ProcedureIndex]
  • [IANERequest.SetCompletionHandler]
  • [IANERequest.SharedEvents]
  • [IANERequest.SetSharedEvents]
  • [IANERequest.TransactionHandle]
  • [IANERequest.SetTransactionHandle]
  • [IANERequest.Validate]
  • [IANERequest.WeightsBuffer]
  • [IANERequest.InitWithInputsInputIndicesOutputsOutputIndicesWeightsBufferPerfStatsProcedureIndexSharedEventsTransactionHandle]
  • [IANERequest.InitWithVirtualModel]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANERequest

type IANESandboxingHelper

type IANESandboxingHelper interface {
	objectivec.IObject
}

An interface definition for the ANESandboxingHelper class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESandboxingHelper

type IANESharedEvents

type IANESharedEvents interface {
	objectivec.IObject

	SignalEvents() foundation.INSArray
	SetSignalEvents(value foundation.INSArray)
	WaitEvents() foundation.INSArray
	SetWaitEvents(value foundation.INSArray)
	InitWithSignalEventsWaitEvents(events objectivec.IObject, events2 objectivec.IObject) ANESharedEvents
}

An interface definition for the ANESharedEvents class.

Methods

  • [IANESharedEvents.SignalEvents]
  • [IANESharedEvents.SetSignalEvents]
  • [IANESharedEvents.WaitEvents]
  • [IANESharedEvents.SetWaitEvents]
  • [IANESharedEvents.InitWithSignalEventsWaitEvents]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESharedEvents

type IANESharedSignalEvent

type IANESharedSignalEvent interface {
	objectivec.IObject

	AgentMask() uint64
	SetAgentMask(value uint64)
	EncodeWithCoder(coder foundation.INSCoder)
	EventType() int64
	SharedEvent() objectivec.IObject
	SymbolIndex() uint32
	Value() uint64
	SetValue(value uint64)
	WaitEvent() objectivec.IObject
	InitWithCoder(coder foundation.INSCoder) ANESharedSignalEvent
	InitWithValueSymbolIndexEventTypeSharedEventAgentMask(value uint64, index uint32, type_ int64, event objectivec.IObject, mask uint64) ANESharedSignalEvent
}

An interface definition for the ANESharedSignalEvent class.

Methods

  • [IANESharedSignalEvent.AgentMask]
  • [IANESharedSignalEvent.SetAgentMask]
  • [IANESharedSignalEvent.EncodeWithCoder]
  • [IANESharedSignalEvent.EventType]
  • [IANESharedSignalEvent.SharedEvent]
  • [IANESharedSignalEvent.SymbolIndex]
  • [IANESharedSignalEvent.Value]
  • [IANESharedSignalEvent.SetValue]
  • [IANESharedSignalEvent.WaitEvent]
  • [IANESharedSignalEvent.InitWithCoder]
  • [IANESharedSignalEvent.InitWithValueSymbolIndexEventTypeSharedEventAgentMask]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESharedSignalEvent

type IANESharedWaitEvent

type IANESharedWaitEvent interface {
	objectivec.IObject

	EventType() uint64
	SharedEvent() objectivec.IObject
	Value() uint64
	SetValue(value uint64)
	InitWithValueSharedEventEventType(value uint64, event objectivec.IObject, type_ uint64) ANESharedWaitEvent
}

An interface definition for the ANESharedWaitEvent class.

Methods

  • [IANESharedWaitEvent.EventType]
  • [IANESharedWaitEvent.SharedEvent]
  • [IANESharedWaitEvent.Value]
  • [IANESharedWaitEvent.SetValue]
  • [IANESharedWaitEvent.InitWithValueSharedEventEventType]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANESharedWaitEvent

type IANEStorageHelper

type IANEStorageHelper interface {
	objectivec.IObject
}

An interface definition for the ANEStorageHelper class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEStorageHelper

type IANEStorageMaintainer

type IANEStorageMaintainer interface {
	objectivec.IObject

	PurgeDanglingModelsAtWithReply(at objectivec.IObject, reply VoidHandler)
}

An interface definition for the ANEStorageMaintainer class.

Methods

  • [IANEStorageMaintainer.PurgeDanglingModelsAtWithReply]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEStorageMaintainer

type IANEStrings

type IANEStrings interface {
	objectivec.IObject
}

An interface definition for the ANEStrings class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEStrings

type IANETask

type IANETask interface {
	objectivec.IObject

	ExecutionCriteria() objectivec.Object
	Handler() VoidHandler
	Name() string
	PeriodSeconds() uint64
	Queue() objectivec.Object
	InitWithNamePeriodHandler(name objectivec.IObject, period uint64, handler VoidHandler) ANETask
}

An interface definition for the ANETask class.

Methods

  • [IANETask.ExecutionCriteria]
  • [IANETask.Handler]
  • [IANETask.Name]
  • [IANETask.PeriodSeconds]
  • [IANETask.Queue]
  • [IANETask.InitWithNamePeriodHandler]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANETask

type IANETaskManager

type IANETaskManager interface {
	objectivec.IObject
}

An interface definition for the ANETaskManager class.

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANETaskManager

type IANEVirtualClient

type IANEVirtualClient interface {
	objectivec.IObject

	AneArchitectureTypeStr() objectivec.IObject
	AneBoardtype() int64
	BeginRealTimeTask() bool
	CallIOUserClientInParamsOutParams(client uint32, params unsafe.Pointer, params2 unsafe.Pointer) bool
	CallIOUserClientWithDictionaryInDictionaryError(dictionary uint32, dictionary2 objectivec.IObject) (objectivec.IObject, error)
	CheckKernReturnValueSelectorOutParams(value int, selector uint32, params unsafe.Pointer)
	CompileModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	CompiledModelExistsFor(for_ objectivec.IObject) bool
	CompiledModelExistsMatchingHash(hash objectivec.IObject) bool
	Connect() uint32
	CopyAllModelFilesDictionaryIoSurfaceRefs(files objectivec.IObject, dictionary objectivec.IObject, refs objectivec.IObject) bool
	CopyDictionaryToIOSurfaceCopiedDataSizeCreatedIOSID(iOSurface objectivec.IObject, size unsafe.Pointer, iosid unsafe.Pointer) coregraphics.IOSurfaceRef
	CopyErrorValue(value unsafe.Pointer)
	CopyErrorValueVmData(value objectivec.IObject, data unsafe.Pointer)
	CopyFilesInDirectoryToIOSurfacesIoSurfaceRefsIoSurfaceSizesFileNames(iOSurfaces objectivec.IObject, refs objectivec.IObject, sizes objectivec.IObject, names objectivec.IObject) bool
	CopyModelOptionsVmData(model objectivec.IObject, options objectivec.IObject, data unsafe.Pointer)
	CopyModelMetaDataOptionsDictionaryVmData(data objectivec.IObject, options objectivec.IObject, dictionary objectivec.IObject, data2 unsafe.Pointer)
	CopyModelOptionFilesOptionsDictionaryVmData(files objectivec.IObject, options objectivec.IObject, dictionary objectivec.IObject, data unsafe.Pointer)
	CopyModelOptionFilesOptionsVmData(files objectivec.IObject, options objectivec.IObject, data unsafe.Pointer)
	CopyOptionsDictionaryVmData(options objectivec.IObject, dictionary objectivec.IObject, data unsafe.Pointer)
	CopyOptionsVmData(options objectivec.IObject, data unsafe.Pointer)
	CopyToIOSurfaceLengthIoSID(iOSurface objectivec.IObject, length uint64, sid unsafe.Pointer) coregraphics.IOSurfaceRef
	CopyToIOSurfaceSizeIoSID(iOSurface []byte, size uint64, sid unsafe.Pointer) coregraphics.IOSurfaceRef
	DoEvaluateWithModelOptionsRequestQosCompletionEventError(model objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32, event objectivec.IObject) (bool, error)
	DoEvaluateWithModelLegacyOptionsRequestQosCompletionEventError(legacy objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32, event objectivec.IObject) (bool, error)
	DoJsonParsingMatchWeightName(name objectivec.IObject) objectivec.IObject
	DoMapIOSurfacesWithModelRequestCacheInferenceError(model objectivec.IObject, request objectivec.IObject, inference bool) (bool, error)
	Echo(echo objectivec.IObject) bool
	EndRealTimeTask() bool
	EvaluateWithModelOptionsRequestQosError(model objectivec.IObject, options objectivec.IObject, request objectivec.IObject, qos uint32) (bool, error)
	ExchangeBuildVersionInfo() objectivec.IObject
	GetDeviceInfo() objectivec.IObject
	GetModelAttribute(attribute unsafe.Pointer) objectivec.IObject
	GetValidateNetworkVersion() uint64
	HasANE() bool
	HostBuildVersionStr() objectivec.IObject
	IsInternalBuild() bool
	LoadModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	LoadModelNewInstanceOptionsModelInstParamsQosError(instance objectivec.IObject, options objectivec.IObject, params objectivec.IObject, qos uint32) (bool, error)
	LoadModelNewInstanceLegacyOptionsModelInstParamsQosError(legacy objectivec.IObject, options objectivec.IObject, params objectivec.IObject, qos uint32) (bool, error)
	MapIOSurfacesWithModelRequestCacheInferenceError(model objectivec.IObject, request objectivec.IObject, inference bool) (bool, error)
	NegotiatedCapabilityMask() uint64
	NegotiatedDataInterfaceVersion() uint32
	NumANECores() uint32
	NumANEs() uint32
	OutputDictIOSurfaceSize() uint64
	ParallelDecompressedData(data objectivec.IObject) objectivec.IObject
	PrintDictionary(dictionary objectivec.IObject)
	PurgeCompiledModel(model objectivec.IObject)
	PurgeCompiledModelMatchingHash(hash objectivec.IObject)
	Queue() objectivec.Object
	ReadWeightFilename(filename objectivec.IObject) objectivec.IObject
	ReleaseIOSurfaces(iOSurfaces unsafe.Pointer)
	SendGuestBuildVersion()
	SessionHintWithModelHintOptionsReportError(model objectivec.IObject, hint objectivec.IObject, options objectivec.IObject, report objectivec.IObject) (bool, error)
	TransferFileToHostWithPathWithChunkSizeWithUUIDWithModelInputPathOverWriteFileNameWith(path objectivec.IObject, size uint32, uuid objectivec.IObject, path2 objectivec.IObject, with objectivec.IObject) bool
	UnloadModelOptionsQosError(model objectivec.IObject, options objectivec.IObject, qos uint32) (bool, error)
	UpdateErrorError(error_ unsafe.Pointer) (bool, error)
	UpdatePerformanceStats(stats unsafe.Pointer) objectivec.IObject
	ValidateEnvironmentForPrecompiledBinarySupport() bool
	ValidateNetworkCreateUuidFunctionDirectoryPathScratchPadPathMilTextData(create uint64, uuid objectivec.IObject, function objectivec.IObject, path objectivec.IObject, path2 objectivec.IObject, data objectivec.IObject) objectivec.IObject
	ValidateNetworkCreateMLIRValidation_params(mlir uint64, validation_params objectivec.IObject) objectivec.IObject
	InitWithSingletonAccess() ANEVirtualClient
}

An interface definition for the ANEVirtualClient class.

Methods

  • [IANEVirtualClient.AneArchitectureTypeStr]
  • [IANEVirtualClient.AneBoardtype]
  • [IANEVirtualClient.BeginRealTimeTask]
  • [IANEVirtualClient.CallIOUserClientInParamsOutParams]
  • [IANEVirtualClient.CallIOUserClientWithDictionaryInDictionaryError]
  • [IANEVirtualClient.CheckKernReturnValueSelectorOutParams]
  • [IANEVirtualClient.CompileModelOptionsQosError]
  • [IANEVirtualClient.CompiledModelExistsFor]
  • [IANEVirtualClient.CompiledModelExistsMatchingHash]
  • [IANEVirtualClient.Connect]
  • [IANEVirtualClient.CopyAllModelFilesDictionaryIoSurfaceRefs]
  • [IANEVirtualClient.CopyDictionaryToIOSurfaceCopiedDataSizeCreatedIOSID]
  • [IANEVirtualClient.CopyErrorValue]
  • [IANEVirtualClient.CopyErrorValueVmData]
  • [IANEVirtualClient.CopyFilesInDirectoryToIOSurfacesIoSurfaceRefsIoSurfaceSizesFileNames]
  • [IANEVirtualClient.CopyModelOptionsVmData]
  • [IANEVirtualClient.CopyModelMetaDataOptionsDictionaryVmData]
  • [IANEVirtualClient.CopyModelOptionFilesOptionsDictionaryVmData]
  • [IANEVirtualClient.CopyModelOptionFilesOptionsVmData]
  • [IANEVirtualClient.CopyOptionsDictionaryVmData]
  • [IANEVirtualClient.CopyOptionsVmData]
  • [IANEVirtualClient.CopyToIOSurfaceLengthIoSID]
  • [IANEVirtualClient.CopyToIOSurfaceSizeIoSID]
  • [IANEVirtualClient.DoEvaluateWithModelOptionsRequestQosCompletionEventError]
  • [IANEVirtualClient.DoEvaluateWithModelLegacyOptionsRequestQosCompletionEventError]
  • [IANEVirtualClient.DoJsonParsingMatchWeightName]
  • [IANEVirtualClient.DoMapIOSurfacesWithModelRequestCacheInferenceError]
  • [IANEVirtualClient.Echo]
  • [IANEVirtualClient.EndRealTimeTask]
  • [IANEVirtualClient.EvaluateWithModelOptionsRequestQosError]
  • [IANEVirtualClient.ExchangeBuildVersionInfo]
  • [IANEVirtualClient.GetDeviceInfo]
  • [IANEVirtualClient.GetModelAttribute]
  • [IANEVirtualClient.GetValidateNetworkVersion]
  • [IANEVirtualClient.HasANE]
  • [IANEVirtualClient.HostBuildVersionStr]
  • [IANEVirtualClient.IsInternalBuild]
  • [IANEVirtualClient.LoadModelOptionsQosError]
  • [IANEVirtualClient.LoadModelNewInstanceOptionsModelInstParamsQosError]
  • [IANEVirtualClient.LoadModelNewInstanceLegacyOptionsModelInstParamsQosError]
  • [IANEVirtualClient.MapIOSurfacesWithModelRequestCacheInferenceError]
  • [IANEVirtualClient.NegotiatedCapabilityMask]
  • [IANEVirtualClient.NegotiatedDataInterfaceVersion]
  • [IANEVirtualClient.NumANECores]
  • [IANEVirtualClient.NumANEs]
  • [IANEVirtualClient.OutputDictIOSurfaceSize]
  • [IANEVirtualClient.ParallelDecompressedData]
  • [IANEVirtualClient.PrintDictionary]
  • [IANEVirtualClient.PurgeCompiledModel]
  • [IANEVirtualClient.PurgeCompiledModelMatchingHash]
  • [IANEVirtualClient.Queue]
  • [IANEVirtualClient.ReadWeightFilename]
  • [IANEVirtualClient.ReleaseIOSurfaces]
  • [IANEVirtualClient.SendGuestBuildVersion]
  • [IANEVirtualClient.SessionHintWithModelHintOptionsReportError]
  • [IANEVirtualClient.TransferFileToHostWithPathWithChunkSizeWithUUIDWithModelInputPathOverWriteFileNameWith]
  • [IANEVirtualClient.UnloadModelOptionsQosError]
  • [IANEVirtualClient.UpdateErrorError]
  • [IANEVirtualClient.UpdatePerformanceStats]
  • [IANEVirtualClient.ValidateEnvironmentForPrecompiledBinarySupport]
  • [IANEVirtualClient.ValidateNetworkCreateUuidFunctionDirectoryPathScratchPadPathMilTextData]
  • [IANEVirtualClient.ValidateNetworkCreateMLIRValidation_params]
  • [IANEVirtualClient.InitWithSingletonAccess]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEVirtualClient

type IANEWeight

type IANEWeight interface {
	objectivec.IObject

	SHACode() foundation.INSData
	EncodeWithCoder(coder foundation.INSCoder)
	SandboxExtension() string
	SetSandboxExtension(value string)
	UpdateWeightURL(url foundation.INSURL)
	WeightSymbol() string
	WeightURL() foundation.INSURL
	SetWeightURL(value foundation.INSURL)
	InitWithCoder(coder foundation.INSCoder) ANEWeight
	InitWithWeightSymbolAndURLWeightURL(url foundation.INSURL, url2 foundation.INSURL) ANEWeight
	InitWithWeightSymbolAndURLSHAWeightURLSHACodeSandboxExtension(urlsha objectivec.IObject, url foundation.INSURL, hACode objectivec.IObject, extension objectivec.IObject) ANEWeight
}

An interface definition for the ANEWeight class.

Methods

  • [IANEWeight.SHACode]
  • [IANEWeight.EncodeWithCoder]
  • [IANEWeight.SandboxExtension]
  • [IANEWeight.SetSandboxExtension]
  • [IANEWeight.UpdateWeightURL]
  • [IANEWeight.WeightSymbol]
  • [IANEWeight.WeightURL]
  • [IANEWeight.SetWeightURL]
  • [IANEWeight.InitWithCoder]
  • [IANEWeight.InitWithWeightSymbolAndURLWeightURL]
  • [IANEWeight.InitWithWeightSymbolAndURLSHAWeightURLSHACodeSandboxExtension]

See: https://developer.apple.com/documentation/AppleNeuralEngine/_ANEWeight

type IEspressoANEIOSurface

type IEspressoANEIOSurface interface {
	objectivec.IObject

	Ane_io_surfaceForMultiBufferFrame(frame uint64) objectivec.IObject
	CheckIfMatches(matches corevideo.CVImageBufferRef) bool
	CheckIfMatchesIOSurface(iOSurface coregraphics.IOSurfaceRef) bool
	Cleanup()
	CreateIOSurfaceWithExtraProperties(properties objectivec.IObject) coregraphics.IOSurfaceRef
	DoNonLazyAllocation(allocation objectivec.IObject)
	External_storage_blob_for_aliasing_mem() objectivec.IObject
	SetExternal_storage_blob_for_aliasing_mem(value objectivec.IObject)
	IoSurfaceForMultiBufferFrame(frame uint64) coregraphics.IOSurfaceRef
	IoSurfaceForMultiBufferFrameNoLazyForTesting(testing uint64) coregraphics.IOSurfaceRef
	LazilyAutoCreateSurfaceForFrame(frame uint64)
	MetalBufferWithDeviceMultiBufferFrame(device objectivec.IObject, frame uint64) metal.MTLBuffer
	NFrames() uint64
	PixelFormat() uint32
	ResizeForMultipleAsyncBuffers(buffers uint64)
	RestoreInternalStorage(storage uint64)
	RestoreInternalStorageForAllMultiBufferFrames()
	SetExternalStorageIoSurface(storage uint64, surface coregraphics.IOSurfaceRef)
	InitWithIOSurfacePropertiesAndPixelFormats(properties objectivec.IObject, formats objectivec.IObject) EspressoANEIOSurface
}

An interface definition for the EspressoANEIOSurface class.

Methods

  • [IEspressoANEIOSurface.Ane_io_surfaceForMultiBufferFrame]
  • [IEspressoANEIOSurface.CheckIfMatches]
  • [IEspressoANEIOSurface.CheckIfMatchesIOSurface]
  • [IEspressoANEIOSurface.Cleanup]
  • [IEspressoANEIOSurface.CreateIOSurfaceWithExtraProperties]
  • [IEspressoANEIOSurface.DoNonLazyAllocation]
  • [IEspressoANEIOSurface.External_storage_blob_for_aliasing_mem]
  • [IEspressoANEIOSurface.SetExternal_storage_blob_for_aliasing_mem]
  • [IEspressoANEIOSurface.IoSurfaceForMultiBufferFrame]
  • [IEspressoANEIOSurface.IoSurfaceForMultiBufferFrameNoLazyForTesting]
  • [IEspressoANEIOSurface.LazilyAutoCreateSurfaceForFrame]
  • [IEspressoANEIOSurface.MetalBufferWithDeviceMultiBufferFrame]
  • [IEspressoANEIOSurface.NFrames]
  • [IEspressoANEIOSurface.PixelFormat]
  • [IEspressoANEIOSurface.ResizeForMultipleAsyncBuffers]
  • [IEspressoANEIOSurface.RestoreInternalStorage]
  • [IEspressoANEIOSurface.RestoreInternalStorageForAllMultiBufferFrames]
  • [IEspressoANEIOSurface.SetExternalStorageIoSurface]
  • [IEspressoANEIOSurface.InitWithIOSurfacePropertiesAndPixelFormats]

See: https://developer.apple.com/documentation/AppleNeuralEngine/EspressoANEIOSurface

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL