Struct tensorflow::ops::SaveV2
source · pub struct SaveV2 { /* private fields */ }
Expand description
Builder for the SaveV2
operation.
Implementations§
source§impl SaveV2
impl SaveV2
sourcepub fn dtypes<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn dtypes<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the dtypes
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
prefix: O0,
tensor_names: O1,
shape_and_slices: O2,
tensors: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, prefix: O0, tensor_names: O1, shape_and_slices: O2, tensors: O3, scope: &mut Scope ) -> Result<Operation>
Builds the SaveV2
operation.
sourcepub fn build_instance(
&self,
prefix: Output,
tensor_names: Output,
shape_and_slices: Output,
tensors: Output,
scope: &mut Scope
) -> Result<SaveV2Inst>
pub fn build_instance( &self, prefix: Output, tensor_names: Output, shape_and_slices: Output, tensors: Output, scope: &mut Scope ) -> Result<SaveV2Inst>
Builds a new instance of ‘SaveV2’ Operation with it’s Outputs and Inputs exposed as methods.
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