copy
TypeScriptcopy(device?: (SDKHandle) | null): MPSRNNImageInferenceLayerSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> Selfclass · iOS 11.0+ · SDK 27.1
class MPSRNNImageInferenceLayercopy(device?: (SDKHandle) | null): MPSRNNImageInferenceLayerSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> SelfencodeBidirectionalSequence(commandBuffer: SDKHandle, sourceSequence: Array<MPSImage>, destinationForwardImages: Array<MPSImage>, destinationBackwardImages?: (Array<MPSImage>) | null): voidSwift declarationfunc encodeBidirectionalSequence(commandBuffer: any MTLCommandBuffer, sourceSequence: [MPSImage], destinationForwardImages: [MPSImage], destinationBackwardImages: [MPSImage]?)encodeSequence(commandBuffer: SDKHandle, sourceImages: Array<MPSImage>, destinationImages: Array<MPSImage>, recurrentInputState?: (MPSRNNRecurrentImageState) | null, recurrentOutputStates?: (_Foundation_NSMutableArray) | null): voidSwift declarationfunc encodeSequence(commandBuffer: any MTLCommandBuffer, sourceImages: [MPSImage], destinationImages: [MPSImage], recurrentInputState: MPSRNNRecurrentImageState?, recurrentOutputStates: NSMutableArray?)static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSRNNImageInferenceLayer) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)static initDeviceRnnDescriptor(device: SDKHandle, rnnDescriptor: MPSRNNDescriptor): MPSRNNImageInferenceLayerSwift declarationinit(device: any MTLDevice, rnnDescriptor: MPSRNNDescriptor)static initDeviceRnnDescriptors(device: SDKHandle, rnnDescriptors: Array<MPSRNNDescriptor>): MPSRNNImageInferenceLayerSwift 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.
MPSRNNImageInferenceLayer.init()
inherited init: cannot prove legal (class declares 2 custom initializers)