Struct tensorflow::eager::raw_ops::TPUPartitionedCall
source · pub struct TPUPartitionedCall { /* private fields */ }
Expand description
TPUPartitionedCall
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/TPUPartitionedCall
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 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, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
args: &T0,
device_ordinal: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, args: &T0, device_ordinal: &T1 ) -> Result<TensorHandle<'a>>
Execute tpupartitioned_call.
Trait Implementations§
source§impl Clone for TPUPartitionedCall
impl Clone for TPUPartitionedCall
source§fn clone(&self) -> TPUPartitionedCall
fn clone(&self) -> TPUPartitionedCall
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 TPUPartitionedCall
impl Debug for TPUPartitionedCall
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