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