tf.load_library
Loads a TensorFlow plugin.
tf.load_library(
library_location
)
"library_location" can be a path to a specific shared object, or a folder.
If it is a folder, all shared objects that are named "libtfkernel*" will be
loaded. When the library is loaded, kernels registered in the library via the
REGISTER_*
macros are made available in the TensorFlow process.
Args |
library_location
|
Path to the plugin or the folder of plugins.
Relative or absolute filesystem path to a dynamic library file or folder.
|
Raises |
OSError
|
When the file to be loaded is not found.
|
RuntimeError
|
when unable to load the library.
|
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."],[],[]]