TfLiteXNNPackDelegateCreate top-level property
Pointer<TfLiteDelegate> Function(Pointer<TfLiteXNNPackDelegateOptions> options)
TfLiteXNNPackDelegateCreate
final
Creates a new delegate instance that need to be destroyed with
TfLiteXNNPackDelegateDelete
when delegate is no longer used by TFLite.
When options
is set to nullptr
, default values are used (see
implementation of TfLiteXNNPackDelegateOptionsDefault in the .cc file for
details).
Implementation
final Pointer<TfLiteDelegate> Function(Pointer<TfLiteXNNPackDelegateOptions> options) TfLiteXNNPackDelegateCreate =
tfliteLib.lookup<NativeFunction<Pointer<TfLiteDelegate> Function(Pointer<TfLiteXNNPackDelegateOptions> options)>>('TfLiteXNNPackDelegateCreate').asFunction();