Struct tensorflow::ops::ConfigureDistributedTPU
source · pub struct ConfigureDistributedTPU { /* private fields */ }
Expand description
Builder for the ConfigureDistributedTPU
operation.
Implementations§
source§impl ConfigureDistributedTPU
impl ConfigureDistributedTPU
sourcepub fn embedding_config<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn embedding_config<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the embedding_config
attribute.
sourcepub fn tpu_embedding_config<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn tpu_embedding_config<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the tpu_embedding_config
attribute.
sourcepub fn is_global_init<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn is_global_init<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the is_global_init
attribute.
sourcepub fn enable_whole_mesh_compilations<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn enable_whole_mesh_compilations<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the enable_whole_mesh_compilations
attribute.
sourcepub fn compilation_failure_closes_chips<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn compilation_failure_closes_chips<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the compilation_failure_closes_chips
attribute.
sourcepub fn tpu_cancellation_closes_chips<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn tpu_cancellation_closes_chips<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the tpu_cancellation_closes_chips
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(&self, scope: &mut Scope) -> Result<Operation>
pub fn build(&self, scope: &mut Scope) -> Result<Operation>
Builds the ConfigureDistributedTPU
operation.
sourcepub fn build_instance(
&self,
scope: &mut Scope
) -> Result<ConfigureDistributedTPUInst>
pub fn build_instance( &self, scope: &mut Scope ) -> Result<ConfigureDistributedTPUInst>
Builds a new instance of ‘ConfigureDistributedTPU’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ConfigureDistributedTPU
impl Debug for ConfigureDistributedTPU
source§impl Default for ConfigureDistributedTPU
impl Default for ConfigureDistributedTPU
source§fn default() -> ConfigureDistributedTPU
fn default() -> ConfigureDistributedTPU
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConfigureDistributedTPU
impl Send for ConfigureDistributedTPU
impl Sync for ConfigureDistributedTPU
impl Unpin for ConfigureDistributedTPU
impl UnwindSafe for ConfigureDistributedTPU
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