MPSNNGraphCompletionHandler
A notification when an asynchronous graph execution has finished.
Declaration
typealias MPSNNGraphCompletionHandler = (MPSImage?, (any Error)?) -> VoidSee Also
Instance Methods
encode(to:sourceImages:)encode(to:sourceImages:sourceStates:intermediateImages:destinationStates:)MPSStateMPSNNBinaryGradientStateMPSNNGradientStateexecuteAsync(withSourceImages:completionHandler:)encodeBatch(to:sourceImages:sourceStates:)encodeBatch(to:sourceImages:sourceStates:intermediateImages:destinationStates:)readCountForSourceImage(at:)readCountForSourceState(at:)reloadFromDataSources()