Google I/O returns May 18-20! Reserve space and build your schedule Register now

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 }