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