Struct tensorflow::eager::raw_ops::EnqueueTPUEmbeddingIntegerBatch
source · pub struct EnqueueTPUEmbeddingIntegerBatch { /* private fields */ }
Expand description
EnqueueTPUEmbeddingIntegerBatch
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EnqueueTPUEmbeddingIntegerBatch
Implementations§
source§impl EnqueueTPUEmbeddingIntegerBatch
impl EnqueueTPUEmbeddingIntegerBatch
sourcepub fn device_ordinal<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn device_ordinal<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the device_ordinal
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,
batch: &[&T0],
mode_override: &T1
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, batch: &[&T0], mode_override: &T1 ) -> Result<()>
Execute enqueue_tpuembedding_integer_batch.
Trait Implementations§
source§impl Clone for EnqueueTPUEmbeddingIntegerBatch
impl Clone for EnqueueTPUEmbeddingIntegerBatch
source§fn clone(&self) -> EnqueueTPUEmbeddingIntegerBatch
fn clone(&self) -> EnqueueTPUEmbeddingIntegerBatch
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 EnqueueTPUEmbeddingIntegerBatch
impl Send for EnqueueTPUEmbeddingIntegerBatch
impl Sync for EnqueueTPUEmbeddingIntegerBatch
impl Unpin for EnqueueTPUEmbeddingIntegerBatch
impl UnwindSafe for EnqueueTPUEmbeddingIntegerBatch
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