Struct tensorflow::ops::ConfigureAndInitializeGlobalTPU
source · pub struct ConfigureAndInitializeGlobalTPU { /* private fields */ }
Expand description
Builder for the ConfigureAndInitializeGlobalTPU
operation.
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 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 ConfigureAndInitializeGlobalTPU
operation.
sourcepub fn build_instance(
&self,
scope: &mut Scope
) -> Result<ConfigureAndInitializeGlobalTPUInst>
pub fn build_instance( &self, scope: &mut Scope ) -> Result<ConfigureAndInitializeGlobalTPUInst>
Builds a new instance of ‘ConfigureAndInitializeGlobalTPU’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for ConfigureAndInitializeGlobalTPU
impl Default for ConfigureAndInitializeGlobalTPU
source§fn default() -> ConfigureAndInitializeGlobalTPU
fn default() -> ConfigureAndInitializeGlobalTPU
Returns the “default value” for a type. Read more
Auto 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