Struct tensorflow::ops::TPUReshardVariablesInst
source · pub struct TPUReshardVariablesInst {
pub op: Operation,
}
Expand description
An instance of ‘TPUReshardVariables’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built TPUReshardVariables Operation in a Tensorflow graph.
Implementations§
source§impl TPUReshardVariablesInst
impl TPUReshardVariablesInst
sourcepub fn vars(&self) -> Result<Vec<Input<'_>>>
pub fn vars(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of vars for ‘vars’ Input of this TPUReshardVariables operation.
sourcepub fn new_format_key(&self) -> Result<Input<'_>>
pub fn new_format_key(&self) -> Result<Input<'_>>
Returns the ‘new_format_key’ Input of this ‘TPUReshardVariables’ operation.
sourcepub fn format_state_var(&self) -> Result<Input<'_>>
pub fn format_state_var(&self) -> Result<Input<'_>>
Returns the ‘format_state_var’ Input of this ‘TPUReshardVariables’ operation.
Trait Implementations§
source§impl Clone for TPUReshardVariablesInst
impl Clone for TPUReshardVariablesInst
source§fn clone(&self) -> TPUReshardVariablesInst
fn clone(&self) -> TPUReshardVariablesInst
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 TPUReshardVariablesInst
impl Debug for TPUReshardVariablesInst
source§impl From<TPUReshardVariablesInst> for Operation
impl From<TPUReshardVariablesInst> for Operation
source§fn from(inst: TPUReshardVariablesInst) -> Operation
fn from(inst: TPUReshardVariablesInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TPUReshardVariablesInst
impl Send for TPUReshardVariablesInst
impl Sync for TPUReshardVariablesInst
impl Unpin for TPUReshardVariablesInst
impl UnwindSafe for TPUReshardVariablesInst
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