Struct tensorflow::ops::RestoreV2
source · pub struct RestoreV2 { /* private fields */ }
Expand description
Builder for the RestoreV2
operation.
Implementations§
source§impl RestoreV2
impl RestoreV2
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>>(
&self,
prefix: O0,
tensor_names: O1,
shape_and_slices: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, prefix: O0, tensor_names: O1, shape_and_slices: O2, scope: &mut Scope ) -> Result<Operation>
Builds the RestoreV2
operation.
sourcepub fn build_instance(
&self,
prefix: Output,
tensor_names: Output,
shape_and_slices: Output,
scope: &mut Scope
) -> Result<RestoreV2Inst>
pub fn build_instance( &self, prefix: Output, tensor_names: Output, shape_and_slices: Output, scope: &mut Scope ) -> Result<RestoreV2Inst>
Builds a new instance of ‘RestoreV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RestoreV2
impl Send for RestoreV2
impl Sync for RestoreV2
impl Unpin for RestoreV2
impl UnwindSafe for RestoreV2
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