Struct tensorflow::ops::SaveSlices
source · pub struct SaveSlices { /* private fields */ }
Expand description
Builder for the SaveSlices
operation.
Implementations§
source§impl SaveSlices
impl SaveSlices
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,
filename: O0,
tensor_names: O1,
shapes_and_slices: O2,
data: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, filename: O0, tensor_names: O1, shapes_and_slices: O2, data: O3, scope: &mut Scope ) -> Result<Operation>
Builds the SaveSlices
operation.
sourcepub fn build_instance(
&self,
filename: Output,
tensor_names: Output,
shapes_and_slices: Output,
data: Output,
scope: &mut Scope
) -> Result<SaveSlicesInst>
pub fn build_instance( &self, filename: Output, tensor_names: Output, shapes_and_slices: Output, data: Output, scope: &mut Scope ) -> Result<SaveSlicesInst>
Builds a new instance of ‘SaveSlices’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SaveSlices
impl Debug for SaveSlices
source§impl Default for SaveSlices
impl Default for SaveSlices
source§fn default() -> SaveSlices
fn default() -> SaveSlices
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SaveSlices
impl Send for SaveSlices
impl Sync for SaveSlices
impl Unpin for SaveSlices
impl UnwindSafe for SaveSlices
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