Struct tensorflow::PluggableDeviceLibrary
source · pub struct PluggableDeviceLibrary { /* private fields */ }
Expand description
PluggableDeviceLibrary handler.
Implementations§
source§impl PluggableDeviceLibrary
impl PluggableDeviceLibrary
sourcepub fn load(library_filename: &str) -> Result<PluggableDeviceLibrary>
pub fn load(library_filename: &str) -> Result<PluggableDeviceLibrary>
Load the library specified by library_filename and register the pluggable device and related kernels present in that library. This function is not supported on embedded on mobile and embedded platforms and will fail if called.
Pass “library_filename” to a platform-specific mechanism for dynamically loading a library. The rules for determining the exact location of the library are platform-specific and are not documented here.
Trait Implementations§
source§impl Debug for PluggableDeviceLibrary
impl Debug for PluggableDeviceLibrary
Auto Trait Implementations§
impl RefUnwindSafe for PluggableDeviceLibrary
impl !Send for PluggableDeviceLibrary
impl !Sync for PluggableDeviceLibrary
impl Unpin for PluggableDeviceLibrary
impl UnwindSafe for PluggableDeviceLibrary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more