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