W3cubDocs

/TensorFlow 2.3

tf.lite.experimental.load_delegate

View source on GitHub

Returns loaded Delegate object.

Args
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)
Returns
Delegate object.
Raises
ValueError Delegate failed to load.
RuntimeError If delegate loading is used on unsupported platform.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/lite/experimental/load_delegate