No overview available.
SDKs
Framework
On This Page
class MPSCNNMultiaryKernel : MPSKernel
init?(coder: NSCoder, device: MTLDevice)
init(device: MTLDevice, sourceCount: Int)
var clipRect: MTLRegion
var destinationFeatureChannelOffset: Int
var destinationImageAllocator: MPSImageAllocator
var isBackwards: Bool
var isStateModified: Bool
var padding: MPSNNPadding
var sourceCount: Int
func appendBatchBarrier() -> Bool
func destinationImageDescriptor(sourceImages: [MPSImage], sourceStates: [MPSState]?) -> MPSImageDescriptor
func dilationRateXatIndex(Int) -> Int
func dilationRateYatIndex(Int) -> Int
func edgeMode(at: Int) -> MPSImageEdgeMode
func encode(commandBuffer: MTLCommandBuffer, sourceImages: [MPSImage]) -> MPSImage
func encode(commandBuffer: MTLCommandBuffer, sourceImages: [MPSImage], destinationImage: MPSImage)
func encode(commandBuffer: MTLCommandBuffer, sourceImages: [MPSImage], destinationState: AutoreleasingUnsafeMutablePointer<MPSState?>, destinationStateIsTemporary: Bool) -> MPSImage
func encodeBatch(commandBuffer: MTLCommandBuffer, sourceImages: [[MPSImage]]) -> [MPSImage]
func encodeBatch(commandBuffer: MTLCommandBuffer, sourceImages: [[MPSImage]], destinationImages: [MPSImage])
func encodeBatch(commandBuffer: MTLCommandBuffer, sourceImages: [[MPSImage]], destinationStates: AutoreleasingUnsafeMutablePointer<NSArray?>, destinationStateIsTemporary: Bool) -> [MPSImage]
func isResultStateReusedAcrossBatch() -> Bool
func kernelHeight(at: Int) -> Int
func kernelWidth(at: Int) -> Int
func offset(at: Int) -> MPSOffset
func resultState(sourceImages: [MPSImage], sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSState?
func resultStateBatch(sourceImages: [[MPSImage]], sourceStates: [[MPSState]]?, destinationImage: [MPSImage]) -> [MPSState]?
func setDilationRateX(Int, at: Int)
func setDilationRateY(Int, at: Int)
func setEdgeMode(MPSImageEdgeMode, at: Int)
func setKernelHeight(Int, at: Int)
func setKernelWidth(Int, at: Int)
func setOffset(MPSOffset, at: Int)
func setSourceFeatureChannelMaxCount(Int, at: Int)
func setSourceFeatureChannelOffset(Int, at: Int)
func setStrideInPixelsX(Int, at: Int)
func setStrideInPixelsY(Int, at: Int)
func sourceFeatureChannelMaxCount(at: Int) -> Int
func sourceFeatureChannelOffset(at: Int) -> Int
func stride(inPixelsXatIndex: Int) -> Int
func stride(inPixelsYatIndex: Int) -> Int
func temporaryResultState(commandBuffer: MTLCommandBuffer, sourceImages: [MPSImage], sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSState?
func temporaryResultStateBatch(commandBuffer: MTLCommandBuffer, sourceImages: [[MPSImage]], sourceStates: [[MPSState]]?, destinationImage: [MPSImage]) -> [MPSState]?
MPSKernel
CVarArg
Equatable
Hashable