init
TypeScriptstatic init(): MPSGraphExecutionDescriptorSwift declarationinit()class · iOS 14.0+ · SDK 27.1
class MPSGraphExecutionDescriptorstatic init(): MPSGraphExecutionDescriptorSwift declarationinit()signal(event: SDKHandle, executionStage: MPSGraphExecutionStage, value: number): voidSwift declarationfunc signal(_ event: any MTLSharedEvent, atExecutionEvent executionStage: MPSGraphExecutionStage, value: UInt64)wait(event: SDKHandle, value: number): voidSwift declarationfunc wait(for event: any MTLSharedEvent, value: UInt64)get compilationDescriptor(): (MPSGraphCompilationDescriptor) | nullSwift declaration@NSCopying var compilationDescriptor: MPSGraphCompilationDescriptor? { get set }set compilationDescriptor(value: (MPSGraphCompilationDescriptor) | null)Swift declaration@NSCopying var compilationDescriptor: MPSGraphCompilationDescriptor? { get set }get completionHandler(): ((arg0: NativeMap<MPSGraphTensor, MPSGraphTensorData>, arg1: (NativeError) | null) => Promise<void>)Swift declarationvar completionHandler: MPSGraphCompletionHandler { get set }set completionHandler(value: ((arg0: NativeMap<MPSGraphTensor, MPSGraphTensorData>, arg1: (NativeError) | null) => void))Swift declarationvar completionHandler: MPSGraphCompletionHandler { get set }get scheduledHandler(): ((arg0: NativeMap<MPSGraphTensor, MPSGraphTensorData>, arg1: (NativeError) | null) => Promise<void>)Swift declarationvar scheduledHandler: MPSGraphScheduledHandler { get set }set scheduledHandler(value: ((arg0: NativeMap<MPSGraphTensor, MPSGraphTensorData>, arg1: (NativeError) | null) => void))Swift declarationvar scheduledHandler: MPSGraphScheduledHandler { get set }get waitUntilCompleted(): booleanSwift declarationvar waitUntilCompleted: Bool { get set }set waitUntilCompleted(value: boolean)Swift declarationvar waitUntilCompleted: Bool { get set }No declarations were skipped in this snapshot.