Have a question? Connect with the community at the TensorFlow Forum Visit Forum

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 }