copy
TypeScriptcopy(device?: (SDKHandle) | null): MPSRNNMatrixInferenceLayerSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> Selfclass · iOS 11.0+ · SDK 27.1
class MPSRNNMatrixInferenceLayercopy(device?: (SDKHandle) | null): MPSRNNMatrixInferenceLayerSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> SelfencodeBidirectionalSequence(commandBuffer: SDKHandle, sourceSequence: Array<MPSMatrix>, destinationForwardMatrices: Array<MPSMatrix>, destinationBackwardMatrices?: (Array<MPSMatrix>) | null): voidSwift declarationfunc encodeBidirectionalSequence(commandBuffer: any MTLCommandBuffer, sourceSequence: [MPSMatrix], destinationForwardMatrices: [MPSMatrix], destinationBackwardMatrices: [MPSMatrix]?)encodeSequenceCommandBufferSourceMatricesDestinationMatricesRecurrentInputStateRecurrentOutputStates(commandBuffer: SDKHandle, sourceMatrices: Array<MPSMatrix>, destinationMatrices: Array<MPSMatrix>, recurrentInputState?: (MPSRNNRecurrentMatrixState) | null, recurrentOutputStates?: (_Foundation_NSMutableArray) | null): voidSwift declarationfunc encodeSequence(commandBuffer: any MTLCommandBuffer, sourceMatrices: [MPSMatrix], destinationMatrices: [MPSMatrix], recurrentInputState: MPSRNNRecurrentMatrixState?, recurrentOutputStates: NSMutableArray?)encodeSequenceCommandBufferSourceMatricesSourceOffsetsDestinationMatricesDestinationOffsetsRecurrentInputStateRecurrentOutputStates(commandBuffer: SDKHandle, sourceMatrices: Array<MPSMatrix>, sourceOffsets: (SDKHandle) | null, destinationMatrices: Array<MPSMatrix>, destinationOffsets?: (SDKHandle) | null, recurrentInputState?: (MPSRNNRecurrentMatrixState) | null, recurrentOutputStates?: (_Foundation_NSMutableArray) | null): voidSwift declarationfunc encodeSequence(commandBuffer: any MTLCommandBuffer, sourceMatrices: [MPSMatrix], sourceOffsets: UnsafeMutablePointer<Int>?, destinationMatrices: [MPSMatrix], destinationOffsets: UnsafeMutablePointer<Int>?, recurrentInputState: MPSRNNRecurrentMatrixState?, recurrentOutputStates: NSMutableArray?)static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSRNNMatrixInferenceLayer) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)static initDeviceRnnDescriptor(device: SDKHandle, rnnDescriptor: MPSRNNDescriptor): MPSRNNMatrixInferenceLayerSwift declarationinit(device: any MTLDevice, rnnDescriptor: MPSRNNDescriptor)static initDeviceRnnDescriptors(device: SDKHandle, rnnDescriptors: Array<MPSRNNDescriptor>): MPSRNNMatrixInferenceLayerSwift declarationinit(device: any MTLDevice, rnnDescriptors: [MPSRNNDescriptor])get bidirectionalCombineMode(): MPSRNNBidirectionalCombineModeSwift declarationvar bidirectionalCombineMode: MPSRNNBidirectionalCombineMode { get set }set bidirectionalCombineMode(value: MPSRNNBidirectionalCombineMode)Swift declarationvar bidirectionalCombineMode: MPSRNNBidirectionalCombineMode { get set }get inputFeatureChannels(): numberSwift declarationvar inputFeatureChannels: Int { get }get numberOfLayers(): numberSwift declarationvar numberOfLayers: Int { get }get outputFeatureChannels(): numberSwift declarationvar outputFeatureChannels: Int { get }get recurrentOutputIsTemporary(): booleanSwift declarationvar recurrentOutputIsTemporary: Bool { get set }set recurrentOutputIsTemporary(value: boolean)Swift declarationvar recurrentOutputIsTemporary: Bool { get set }get storeAllIntermediateStates(): booleanSwift declarationvar storeAllIntermediateStates: Bool { get set }set storeAllIntermediateStates(value: boolean)Swift declarationvar storeAllIntermediateStates: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSRNNMatrixInferenceLayer.init()
inherited init: cannot prove legal (class declares 2 custom initializers)