Struct tensorflow::eager::raw_ops::ConfigureAndInitializeGlobalTPU
source · pub struct ConfigureAndInitializeGlobalTPU { /* private fields */ }
Expand description
ConfigureAndInitializeGlobalTPU
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ConfigureAndInitializeGlobalTPU
Implementations§
source§impl ConfigureAndInitializeGlobalTPU
impl ConfigureAndInitializeGlobalTPU
sourcepub fn use_tfrt_host_runtime<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_tfrt_host_runtime<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_tfrt_host_runtime
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_and_initialize_global_tpu.
Trait Implementations§
source§impl Clone for ConfigureAndInitializeGlobalTPU
impl Clone for ConfigureAndInitializeGlobalTPU
source§fn clone(&self) -> ConfigureAndInitializeGlobalTPU
fn clone(&self) -> ConfigureAndInitializeGlobalTPU
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ConfigureAndInitializeGlobalTPU
impl Send for ConfigureAndInitializeGlobalTPU
impl Sync for ConfigureAndInitializeGlobalTPU
impl Unpin for ConfigureAndInitializeGlobalTPU
impl UnwindSafe for ConfigureAndInitializeGlobalTPU
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