Function tensorflow_sys_runtime::find
source · pub fn find(library_name: &str) -> Option<PathBuf>
Expand description
Find the path to an Tensorflow library. This will try:
- the
TENSORFLOW_DIR
environment variable with several subdirectories appended - the environment’s library path (e.g.
LD_LIBRARY_PATH
in Linux) - Tensorflow’s default installation paths for the OS