encodeBatch(to:sourceImages:sourceStates:intermediateImages:destinationStates:)
Declaration
func encodeBatch(to commandBuffer: any MTLCommandBuffer, sourceImages: [[MPSImage]], sourceStates: [[MPSState]]?, intermediateImages: NSMutableArray?, destinationStates: NSMutableArray?) -> [MPSImage]?See Also
Instance Methods
encode(to:sourceImages:)encode(to:sourceImages:sourceStates:intermediateImages:destinationStates:)MPSStateMPSNNBinaryGradientStateMPSNNGradientStateexecuteAsync(withSourceImages:completionHandler:)MPSNNGraphCompletionHandlerencodeBatch(to:sourceImages:sourceStates:)readCountForSourceImage(at:)readCountForSourceState(at:)reloadFromDataSources()