ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TensorFlowLiteSwift Framework Reference

Delegate

public protocol Delegate : AnyObject

A delegate that the Interpreter uses to perform TensorFlow Lite model computations.

  • The TfLiteDelegate C pointer type.

    Declaration

    Swift

    typealias CDelegate = UnsafeMutablePointer<TfLiteDelegate>
  • The delegate that performs model computations.

    Declaration

    Swift

    var cDelegate: CDelegate { get }