Struct tensorflow::ops::DTensorRestoreV2Inst
source · pub struct DTensorRestoreV2Inst {
pub op: Operation,
}
Expand description
An instance of ‘DTensorRestoreV2’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built DTensorRestoreV2 Operation in a Tensorflow graph.
Implementations§
source§impl DTensorRestoreV2Inst
impl DTensorRestoreV2Inst
sourcepub fn tensors(&self) -> Output
pub fn tensors(&self) -> Output
Returns the ‘tensors’ Output of this ‘DTensorRestoreV2’ operation.
sourcepub fn prefix(&self) -> Input<'_>
pub fn prefix(&self) -> Input<'_>
Returns the ‘prefix’ Input of this ‘DTensorRestoreV2’ operation.
sourcepub fn tensor_names(&self) -> Input<'_>
pub fn tensor_names(&self) -> Input<'_>
Returns the ‘tensor_names’ Input of this ‘DTensorRestoreV2’ operation.
sourcepub fn shape_and_slices(&self) -> Input<'_>
pub fn shape_and_slices(&self) -> Input<'_>
Returns the ‘shape_and_slices’ Input of this ‘DTensorRestoreV2’ operation.
Trait Implementations§
source§impl Clone for DTensorRestoreV2Inst
impl Clone for DTensorRestoreV2Inst
source§fn clone(&self) -> DTensorRestoreV2Inst
fn clone(&self) -> DTensorRestoreV2Inst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DTensorRestoreV2Inst
impl Debug for DTensorRestoreV2Inst
source§impl From<DTensorRestoreV2Inst> for Operation
impl From<DTensorRestoreV2Inst> for Operation
source§fn from(inst: DTensorRestoreV2Inst) -> Operation
fn from(inst: DTensorRestoreV2Inst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DTensorRestoreV2Inst
impl Send for DTensorRestoreV2Inst
impl Sync for DTensorRestoreV2Inst
impl Unpin for DTensorRestoreV2Inst
impl UnwindSafe for DTensorRestoreV2Inst
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