Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge


Returns loaded Delegate object.

Example usage:

import tensorflow as tf

  delegate = tf.lite.experimental.load_delegate('')
except ValueError:
  // Fallback to CPU

if delegate:
  interpreter = tf.lite.Interpreter(
  interpreter = tf.lite.Interpreter(model_path='model.tflite')

This is typically used to leverage EdgeTPU for running TensorFlow Lite models. For more information see:

library Name of shared library containing the TfLiteDelegate.
options Dictionary of options that are required to load the delegate. All keys and values in the dictionary should be convertible to str. Consult the documentation of the specific delegate for required and legal options. (default None)

Delegate object.

ValueError Delegate failed to load.
RuntimeError If delegate loading is used on unsupported platform.