appleneuralengine

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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.

func NewErrorBlock added in v0.5.0

func NewErrorBlock(handler ErrorHandler) (objc.ID, func())

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

Used by:

func NewVoidBlock

func NewVoidBlock(handler VoidHandler) (objc.ID, func())

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

Used by:

Types

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.

func (ANEBufferClass) Class added in v0.5.0

func (ac ANEBufferClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEChainingRequestClass) Class added in v0.5.0

func (ac ANEChainingRequestClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEClientClass) Class added in v0.5.0

func (ac ANEClientClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANECloneHelperClass) Class added in v0.5.0

func (ac ANECloneHelperClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type ANECompilerServiceProtocol added in v0.5.0

type ANECompilerServiceProtocol interface {
	objectivec.IObject
}

_ANECompilerServiceProtocol protocol.

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

type ANECompilerServiceProtocolObject added in v0.5.0

type ANECompilerServiceProtocolObject struct {
	objectivec.Object
}

ANECompilerServiceProtocolObject wraps an existing Objective-C object that conforms to the ANECompilerServiceProtocol protocol.

func ANECompilerServiceProtocolObjectFromID added in v0.5.0

func ANECompilerServiceProtocolObjectFromID(id objc.ID) ANECompilerServiceProtocolObject

ANECompilerServiceProtocolObjectFromID constructs a ANECompilerServiceProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ANECompilerServiceProtocolObject) BaseObject added in v0.5.0

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.

func (ANEDaemonConnectionClass) Class added in v0.5.0

func (ac ANEDaemonConnectionClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type ANEDaemonProtocol added in v0.5.0

type ANEDaemonProtocol interface {
	objectivec.IObject
}

_ANEDaemonProtocol protocol.

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

type ANEDaemonProtocolObject added in v0.5.0

type ANEDaemonProtocolObject struct {
	objectivec.Object
}

ANEDaemonProtocolObject wraps an existing Objective-C object that conforms to the ANEDaemonProtocol protocol.

func ANEDaemonProtocolObjectFromID added in v0.5.0

func ANEDaemonProtocolObjectFromID(id objc.ID) ANEDaemonProtocolObject

ANEDaemonProtocolObjectFromID constructs a ANEDaemonProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ANEDaemonProtocolObject) BaseObject added in v0.5.0

func (o ANEDaemonProtocolObject) BaseObject() objectivec.Object

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) Class added in v0.5.0

func (ac ANEDataReporterClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (ANEDataReporterClass) ReportErrorMsgStatus

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

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

func (ANEDataReporterClass) ReportTelemetryToCoreAnalyticsPayload added in v0.5.0

func (_ANEDataReporterClass ANEDataReporterClass) ReportTelemetryToCoreAnalyticsPayload(analytics objectivec.IObject, payload objectivec.IObject)

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

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.

func (ANEDeviceControllerClass) Class added in v0.5.0

func (ac ANEDeviceControllerClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEDeviceInfoClass) AneSubTypeAndVariant added in v0.5.0

func (_ANEDeviceInfoClass ANEDeviceInfoClass) AneSubTypeAndVariant() objectivec.IObject

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

func (ANEDeviceInfoClass) Class added in v0.5.0

func (ac ANEDeviceInfoClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEErrorsClass) Class added in v0.5.0

func (ac ANEErrorsClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

func (ac ANEHashEncodingClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (ANEHashEncodingClass) CopySHA256ForToBuffer

func (_ANEHashEncodingClass ANEHashEncodingClass) CopySHA256ForToBuffer(sHA256For objectivec.IObject, buffer string)

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) Class added in v0.5.0

func (ac ANEIOSurfaceObjectClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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 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.

func (ANEInMemoryModelClass) Class added in v0.5.0

func (ac ANEInMemoryModelClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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.

func (ANEInputBuffersReadyClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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.

func (ANELogClass) Class added in v0.5.0

func (ac ANELogClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type ANEMaintenanceProtocol added in v0.5.0

type ANEMaintenanceProtocol interface {
	objectivec.IObject
}

_ANEMaintenanceProtocol protocol.

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

type ANEMaintenanceProtocolObject added in v0.5.0

type ANEMaintenanceProtocolObject struct {
	objectivec.Object
}

ANEMaintenanceProtocolObject wraps an existing Objective-C object that conforms to the ANEMaintenanceProtocol protocol.

func ANEMaintenanceProtocolObjectFromID added in v0.5.0

func ANEMaintenanceProtocolObjectFromID(id objc.ID) ANEMaintenanceProtocolObject

ANEMaintenanceProtocolObjectFromID constructs a ANEMaintenanceProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ANEMaintenanceProtocolObject) BaseObject added in v0.5.0

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 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.

func (ANEModelClass) Class added in v0.5.0

func (ac ANEModelClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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.

func (ANEModelTokenClass) Class added in v0.5.0

func (ac ANEModelTokenClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEOutputSetEnqueueClass) Class added in v0.5.0

func (ac ANEOutputSetEnqueueClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

func (ac ANEPerformanceStatsClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEPerformanceStatsIOSurfaceClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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.

func (ANEProcedureDataClass) Class added in v0.5.0

func (ac ANEProcedureDataClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEProgramForEvaluationClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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.

func (ANEProgramIOSurfacesMapperClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

func (ac ANEQoSMapperClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) 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.

func (ANERequestClass) Class added in v0.5.0

func (ac ANERequestClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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) Class added in v0.5.0

func (ac ANESandboxingHelperClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANESharedEventsClass) Class added in v0.5.0

func (ac ANESharedEventsClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANESharedSignalEventClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

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.

func (ANESharedWaitEventClass) Class added in v0.5.0

func (ac ANESharedWaitEventClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type ANEStorageMaintainerProtocol added in v0.5.0

type ANEStorageMaintainerProtocol interface {
	objectivec.IObject
}

_ANEStorageMaintainerProtocol protocol.

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

type ANEStorageMaintainerProtocolObject added in v0.5.0

type ANEStorageMaintainerProtocolObject struct {
	objectivec.Object
}

ANEStorageMaintainerProtocolObject wraps an existing Objective-C object that conforms to the ANEStorageMaintainerProtocol protocol.

func ANEStorageMaintainerProtocolObjectFromID added in v0.5.0

func ANEStorageMaintainerProtocolObjectFromID(id objc.ID) ANEStorageMaintainerProtocolObject

ANEStorageMaintainerProtocolObjectFromID constructs a ANEStorageMaintainerProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ANEStorageMaintainerProtocolObject) BaseObject added in v0.5.0

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.

func (ANEStringsClass) Class added in v0.5.0

func (ac ANEStringsClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (ANEStringsClass) MlirExtension added in v0.5.0

func (_ANEStringsClass ANEStringsClass) MlirExtension() objectivec.IObject

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

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) Class added in v0.5.0

func (ac ANEVirtualClientClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

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.

func (ANEWeightClass) Class added in v0.5.0

func (ac ANEWeightClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type BoolErrorHandler

type BoolErrorHandler = func(bool, error)

BoolErrorHandler handles completion with a boolean result and optional error The error can be type-asserted to *foundation.NSError for Domain, Code, and UserInfo.

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 DictionaryErrorHandler added in v0.5.0

type DictionaryErrorHandler = func(*foundation.INSDictionary, error)

DictionaryErrorHandler is the signature for a completion handler block.

Used by:

  • [ANECompilerServiceProtocol.CompileModelAtCsIdentitySandboxExtensionOptionsTempDirectoryCloneDirectoryOutputURLAotModelBinaryPathMaxModelMemorySizeWithReply]

type ETDataProvider added in v0.5.0

type ETDataProvider interface {
	objectivec.IObject

	// NumberOfDataPoints protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/ETDataProvider/numberOfDataPoints
	NumberOfDataPoints() uint64

	// PrepareForEpoch protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/ETDataProvider/prepareForEpoch
	PrepareForEpoch()
}

ETDataProvider protocol.

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

type ETDataProviderObject added in v0.5.0

type ETDataProviderObject struct {
	objectivec.Object
}

ETDataProviderObject wraps an existing Objective-C object that conforms to the ETDataProvider protocol.

func ETDataProviderObjectFromID added in v0.5.0

func ETDataProviderObjectFromID(id objc.ID) ETDataProviderObject

ETDataProviderObjectFromID constructs a ETDataProviderObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ETDataProviderObject) BaseObject added in v0.5.0

func (o ETDataProviderObject) BaseObject() objectivec.Object

type ETDataSource added in v0.5.0

type ETDataSource interface {
	objectivec.IObject

	// NumberOfDataPoints protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/ETDataSource/numberOfDataPoints
	NumberOfDataPoints() int
}

ETDataSource protocol.

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

type ETDataSourceObject added in v0.5.0

type ETDataSourceObject struct {
	objectivec.Object
}

ETDataSourceObject wraps an existing Objective-C object that conforms to the ETDataSource protocol.

func ETDataSourceObjectFromID added in v0.5.0

func ETDataSourceObjectFromID(id objc.ID) ETDataSourceObject

ETDataSourceObjectFromID constructs a ETDataSourceObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ETDataSourceObject) BaseObject added in v0.5.0

func (o ETDataSourceObject) BaseObject() objectivec.Object

type ETTaskContext added in v0.5.0

type ETTaskContext interface {
	objectivec.IObject
}

ETTaskContext protocol.

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

type ETTaskContextObject added in v0.5.0

type ETTaskContextObject struct {
	objectivec.Object
}

ETTaskContextObject wraps an existing Objective-C object that conforms to the ETTaskContext protocol.

func ETTaskContextObjectFromID added in v0.5.0

func ETTaskContextObjectFromID(id objc.ID) ETTaskContextObject

ETTaskContextObjectFromID constructs a ETTaskContextObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ETTaskContextObject) BaseObject added in v0.5.0

func (o ETTaskContextObject) BaseObject() objectivec.Object

type ErrorHandler added in v0.5.0

type ErrorHandler = func(error)

ErrorHandler is the signature for a completion handler block.

Used by:

type ExternalDetectedObjectObject added in v0.5.0

type ExternalDetectedObjectObject struct {
	objectivec.Object
}

ExternalDetectedObjectObject wraps an existing Objective-C object that conforms to the ExternalDetectedObject protocol.

func ExternalDetectedObjectObjectFromID added in v0.5.0

func ExternalDetectedObjectObjectFromID(id objc.ID) ExternalDetectedObjectObject

ExternalDetectedObjectObjectFromID constructs a ExternalDetectedObjectObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (ExternalDetectedObjectObject) BaseObject added in v0.5.0

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 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 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 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 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 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 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 ErrorHandler)
	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 IANEStrings

type IANEStrings interface {
	objectivec.IObject
}

An interface definition for the ANEStrings class.

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

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 string, 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
	AneSubTypeAndVariant() 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.AneSubTypeAndVariant]
  • [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 MPSCNNConvolutionDataSource added in v0.5.0

type MPSCNNConvolutionDataSource interface {
	objectivec.IObject

	// BiasTerms protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/biasTerms
	BiasTerms() unsafe.Pointer

	// DataType protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/dataType
	DataType() uint32

	// KernelWeightsDataType protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/kernelWeightsDataType
	KernelWeightsDataType() uint32

	// Load protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/load
	Load() bool

	// LookupTableForUInt8Kernel protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/lookupTableForUInt8Kernel
	LookupTableForUInt8Kernel() unsafe.Pointer

	// Purge protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/purge
	Purge()

	// RangesForUInt8Kernel protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/rangesForUInt8Kernel
	RangesForUInt8Kernel() []objectivec.IObject

	// Weights protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/weights
	Weights() unsafe.Pointer

	// WeightsLayout protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/weightsLayout
	WeightsLayout() uint32

	// WeightsQuantizationType protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MPSCNNConvolutionDataSource/weightsQuantizationType
	WeightsQuantizationType() uint32
}

MPSCNNConvolutionDataSource protocol.

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

type MPSCNNConvolutionDataSourceObject added in v0.5.0

type MPSCNNConvolutionDataSourceObject struct {
	objectivec.Object
}

MPSCNNConvolutionDataSourceObject wraps an existing Objective-C object that conforms to the MPSCNNConvolutionDataSource protocol.

func MPSCNNConvolutionDataSourceObjectFromID added in v0.5.0

func MPSCNNConvolutionDataSourceObjectFromID(id objc.ID) MPSCNNConvolutionDataSourceObject

MPSCNNConvolutionDataSourceObjectFromID constructs a MPSCNNConvolutionDataSourceObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MPSCNNConvolutionDataSourceObject) BaseObject added in v0.5.0

type MPSGraphViewerNodePropertySPI added in v0.5.0

type MPSGraphViewerNodePropertySPI interface {
	objectivec.IObject
}

MPSGraphViewerNodePropertySPI protocol.

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

type MPSGraphViewerNodePropertySPIObject added in v0.5.0

type MPSGraphViewerNodePropertySPIObject struct {
	objectivec.Object
}

MPSGraphViewerNodePropertySPIObject wraps an existing Objective-C object that conforms to the MPSGraphViewerNodePropertySPI protocol.

func MPSGraphViewerNodePropertySPIObjectFromID added in v0.5.0

func MPSGraphViewerNodePropertySPIObjectFromID(id objc.ID) MPSGraphViewerNodePropertySPIObject

MPSGraphViewerNodePropertySPIObjectFromID constructs a MPSGraphViewerNodePropertySPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MPSGraphViewerNodePropertySPIObject) BaseObject added in v0.5.0

type MTLComputeCommandEncoder added in v0.5.0

type MTLComputeCommandEncoder interface {
	objectivec.IObject

	// DispatchThreadgroupsThreadsPerThreadgroup protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/dispatchThreadgroups:threadsPerThreadgroup:
	DispatchThreadgroupsThreadsPerThreadgroup(threadgroups objectivec.IObject, threadgroup objectivec.IObject)

	// DispatchThreadsThreadsPerThreadgroup protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/dispatchThreads:threadsPerThreadgroup:
	DispatchThreadsThreadsPerThreadgroup(threads objectivec.IObject, threadgroup objectivec.IObject)

	// DispatchType protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/dispatchType
	DispatchType() uint64

	// MemoryBarrierWithResourcesCount protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/memoryBarrierWithResources:count:
	MemoryBarrierWithResourcesCount(resources []objectivec.IObject, count uint64)

	// MemoryBarrierWithScope protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/memoryBarrierWithScope:
	MemoryBarrierWithScope(scope uint64)

	// SetBufferOffsetAtIndex protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBufferOffset:atIndex:
	SetBufferOffsetAtIndex(offset uint64, index uint64)

	// SetBufferOffsetAttributeStrideAtIndex protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBufferOffset:attributeStride:atIndex:
	SetBufferOffsetAttributeStrideAtIndex(offset uint64, stride uint64, index uint64)

	// SetBuffersOffsetsAttributeStridesWithRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBuffers:offsets:attributeStrides:withRange:
	SetBuffersOffsetsAttributeStridesWithRange(buffers []objectivec.IObject, offsets unsafe.Pointer, strides unsafe.Pointer, range_ foundation.NSRange)

	// SetBuffersOffsetsWithRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBuffers:offsets:withRange:
	SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets unsafe.Pointer, range_ foundation.NSRange)

	// SetBytesLengthAtIndex protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBytes:length:atIndex:
	SetBytesLengthAtIndex(bytes []byte, index uint64)

	// SetBytesLengthAttributeStrideAtIndex protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBytes:length:attributeStride:atIndex:
	SetBytesLengthAttributeStrideAtIndex(bytes []byte, stride uint64, index uint64)

	// SetImageblockWidthHeight protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setImageblockWidth:height:
	SetImageblockWidthHeight(width uint64, height uint64)

	// SetIntersectionFunctionTablesWithBufferRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setIntersectionFunctionTables:withBufferRange:
	SetIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

	// SetSamplerStatesLodMinClampsLodMaxClampsWithRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setSamplerStates:lodMinClamps:lodMaxClamps:withRange:
	SetSamplerStatesLodMinClampsLodMaxClampsWithRange(states []objectivec.IObject, clamps unsafe.Pointer, clamps2 unsafe.Pointer, range_ foundation.NSRange)

	// SetSamplerStatesWithRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setSamplerStates:withRange:
	SetSamplerStatesWithRange(states []objectivec.IObject, range_ foundation.NSRange)

	// SetStageInRegion protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setStageInRegion:
	SetStageInRegion(region objectivec.IObject)

	// SetTexturesWithRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setTextures:withRange:
	SetTexturesWithRange(textures []objectivec.IObject, range_ foundation.NSRange)

	// SetThreadgroupMemoryLengthAtIndex protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setThreadgroupMemoryLength:atIndex:
	SetThreadgroupMemoryLengthAtIndex(length uint64, index uint64)

	// SetVisibleFunctionTablesWithBufferRange protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setVisibleFunctionTables:withBufferRange:
	SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

	// UseHeapsCount protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/useHeaps:count:
	UseHeapsCount(heaps []objectivec.IObject, count uint64)

	// UseResourcesCountUsage protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/useResources:count:usage:
	UseResourcesCountUsage(resources []objectivec.IObject, count uint64, usage uint64)
}

MTLComputeCommandEncoder protocol.

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

type MTLComputeCommandEncoderObject added in v0.5.0

type MTLComputeCommandEncoderObject struct {
	objectivec.Object
}

MTLComputeCommandEncoderObject wraps an existing Objective-C object that conforms to the MTLComputeCommandEncoder protocol.

func MTLComputeCommandEncoderObjectFromID added in v0.5.0

func MTLComputeCommandEncoderObjectFromID(id objc.ID) MTLComputeCommandEncoderObject

MTLComputeCommandEncoderObjectFromID constructs a MTLComputeCommandEncoderObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLComputeCommandEncoderObject) BaseObject added in v0.5.0

func (MTLComputeCommandEncoderObject) SetBytesLengthAtIndex added in v0.5.0

func (o MTLComputeCommandEncoderObject) SetBytesLengthAtIndex(bytes []byte, index uint64)

See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/setBytes:length:atIndex:

func (MTLComputeCommandEncoderObject) UseResourcesCountUsage added in v0.5.0

func (o MTLComputeCommandEncoderObject) UseResourcesCountUsage(resources []objectivec.IObject, count uint64, usage uint64)

See: https://developer.apple.com/documentation/AppleNeuralEngine/MTLComputeCommandEncoder/useResources:count:usage:

type NSCopying added in v0.5.0

type NSCopying interface {
	objectivec.IObject
}

NSCopying protocol.

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

type NSCopyingObject added in v0.5.0

type NSCopyingObject struct {
	objectivec.Object
}

NSCopyingObject wraps an existing Objective-C object that conforms to the NSCopying protocol.

func NSCopyingObjectFromID added in v0.5.0

func NSCopyingObjectFromID(id objc.ID) NSCopyingObject

NSCopyingObjectFromID constructs a NSCopyingObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (NSCopyingObject) BaseObject added in v0.5.0

func (o NSCopyingObject) BaseObject() objectivec.Object

type NSSecureCoding added in v0.5.0

type NSSecureCoding interface {
	objectivec.IObject

	// SupportsSecureCoding protocol.
	//
	// See: https://developer.apple.com/documentation/AppleNeuralEngine/NSSecureCoding/supportsSecureCoding
	SupportsSecureCoding() bool
}

NSSecureCoding protocol.

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

type NSSecureCodingObject added in v0.5.0

type NSSecureCodingObject struct {
	objectivec.Object
}

NSSecureCodingObject wraps an existing Objective-C object that conforms to the NSSecureCoding protocol.

func NSSecureCodingObjectFromID added in v0.5.0

func NSSecureCodingObjectFromID(id objc.ID) NSSecureCodingObject

NSSecureCodingObjectFromID constructs a NSSecureCodingObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (NSSecureCodingObject) BaseObject added in v0.5.0

func (o NSSecureCodingObject) BaseObject() objectivec.Object

type NSXPCListenerDelegate added in v0.5.0

type NSXPCListenerDelegate interface {
	objectivec.IObject
}

NSXPCListenerDelegate protocol.

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

type NSXPCListenerDelegateObject added in v0.5.0

type NSXPCListenerDelegateObject struct {
	objectivec.Object
}

NSXPCListenerDelegateObject wraps an existing Objective-C object that conforms to the NSXPCListenerDelegate protocol.

func NSXPCListenerDelegateObjectFromID added in v0.5.0

func NSXPCListenerDelegateObjectFromID(id objc.ID) NSXPCListenerDelegateObject

NSXPCListenerDelegateObjectFromID constructs a NSXPCListenerDelegateObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (NSXPCListenerDelegateObject) BaseObject added in v0.5.0

type VoidHandler

type VoidHandler = func()

VoidHandler is the signature for a completion handler block.

Used by:

Source Files

Jump to

Keyboard shortcuts

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