abstract class TensorflowLite::Delegate

Overview

Delegates enable hardware acceleration of TensorFlow Lite models by leveraging on-device accelerators such as the GPU and Digital Signal Processor (DSP).

This base class allows us to track any delegates added when configuring interpreter options

Direct Known Subclasses

Defined in:

tensorflow_lite/delegate.cr

Instance Method Summary

Instance Method Detail

abstract def to_unsafe : Pointer(LibTensorflowLite::OpaqueDelegate) #

[View source]