Struct tensorflow::eager::raw_ops::Restore
source · pub struct Restore { /* private fields */ }
Expand description
Implementations§
source§impl Restore
impl Restore
sourcepub fn preferred_shard<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn preferred_shard<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the preferred_shard
attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
file_pattern: &T0,
tensor_name: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, file_pattern: &T0, tensor_name: &T1 ) -> Result<TensorHandle<'a>>
Execute restore.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Restore
impl Send for Restore
impl Sync for Restore
impl Unpin for Restore
impl UnwindSafe for Restore
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