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