tf.lite.experimental.load_delegate
Returns loaded Delegate object.
tf.lite.experimental.load_delegate(
library, options=None
)
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)
|
Raises |
ValueError
|
Delegate failed to load.
|
RuntimeError
|
If delegate loading is used on unsupported platform.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]