Struct tensorflow::eager::raw_ops::SaveV2
source · pub struct SaveV2 { /* private fields */ }
Expand description
Implementations§
source§impl SaveV2
impl SaveV2
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
prefix: &T0,
tensor_names: &T1,
shape_and_slices: &T2,
tensors: &T3
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, prefix: &T0, tensor_names: &T1, shape_and_slices: &T2, tensors: &T3 ) -> Result<()>
Execute save_v2.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SaveV2
impl Send for SaveV2
impl Sync for SaveV2
impl Unpin for SaveV2
impl UnwindSafe for SaveV2
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