pub struct EnqueueTPUEmbeddingArbitraryTensorBatch { /* private fields */ }
Expand description
EnqueueTPUEmbeddingArbitraryTensorBatch
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EnqueueTPUEmbeddingArbitraryTensorBatch
Implementations§
source§impl EnqueueTPUEmbeddingArbitraryTensorBatch
impl EnqueueTPUEmbeddingArbitraryTensorBatch
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 combiners<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn combiners<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the combiners
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
sample_indices_or_row_splits: &[&T0],
embedding_indices: &[&T1],
aggregation_weights: &[&T2],
mode_override: &T3
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, sample_indices_or_row_splits: &[&T0], embedding_indices: &[&T1], aggregation_weights: &[&T2], mode_override: &T3 ) -> Result<()>
Execute enqueue_tpuembedding_arbitrary_tensor_batch.
Trait Implementations§
source§impl Clone for EnqueueTPUEmbeddingArbitraryTensorBatch
impl Clone for EnqueueTPUEmbeddingArbitraryTensorBatch
source§fn clone(&self) -> EnqueueTPUEmbeddingArbitraryTensorBatch
fn clone(&self) -> EnqueueTPUEmbeddingArbitraryTensorBatch
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 EnqueueTPUEmbeddingArbitraryTensorBatch
impl Send for EnqueueTPUEmbeddingArbitraryTensorBatch
impl Sync for EnqueueTPUEmbeddingArbitraryTensorBatch
impl Unpin for EnqueueTPUEmbeddingArbitraryTensorBatch
impl UnwindSafe for EnqueueTPUEmbeddingArbitraryTensorBatch
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