Contents

MLCGraphCompletionHandler

A callback completion handler you execute when a graph finishes execution.

Declaration

typealias MLCGraphCompletionHandler = (MLCTensor?, (any Error)?, TimeInterval) -> Void

Parameters

  • resultTensor:

    The result tensor.

  • error:

    An error if one occured, otherwise nil.

  • executionTime:

    The execution time.

See Also

Executing Inference Graphs