Contents

MPSGraphExecutableCompletionHandler

A notification when graph executable execution finishes.

Declaration

typealias MPSGraphExecutableCompletionHandler = ([MPSGraphTensorData], (any Error)?) -> Void

Parameters

  • results:

    If no error, the results produced by the graph operation. If Graph hasn’t yet allocated the results, this will be NSNull.

  • error:

    If an error occurs, more information might be found here.