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