Struct tensorflow::eager::raw_ops::ConfigureDistributedTPU
source · pub struct ConfigureDistributedTPU { /* private fields */ }
Expand description
ConfigureDistributedTPU
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ConfigureDistributedTPU
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute configure_distributed_tpu.
Trait Implementations§
source§impl Clone for ConfigureDistributedTPU
impl Clone for ConfigureDistributedTPU
source§fn clone(&self) -> ConfigureDistributedTPU
fn clone(&self) -> ConfigureDistributedTPU
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 ConfigureDistributedTPU
impl Debug for ConfigureDistributedTPU
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