pub struct EnqueueTPUEmbeddingRaggedTensorBatch { /* private fields */ }
Expand description
EnqueueTPUEmbeddingRaggedTensorBatch
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EnqueueTPUEmbeddingRaggedTensorBatch
Implementations§
source§impl EnqueueTPUEmbeddingRaggedTensorBatch
impl EnqueueTPUEmbeddingRaggedTensorBatch
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 table_ids<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn table_ids<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the table_ids
attribute.
sourcepub fn max_sequence_lengths<ArgType: Into<Vec<i64>>>(
self,
value: ArgType
) -> Self
pub fn max_sequence_lengths<ArgType: Into<Vec<i64>>>( self, value: ArgType ) -> Self
Sets the max_sequence_lengths
attribute.
sourcepub fn num_features<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn num_features<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the num_features
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_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_splits: &[&T0], embedding_indices: &[&T1], aggregation_weights: &[&T2], mode_override: &T3 ) -> Result<()>
Execute enqueue_tpuembedding_ragged_tensor_batch.
Trait Implementations§
source§impl Clone for EnqueueTPUEmbeddingRaggedTensorBatch
impl Clone for EnqueueTPUEmbeddingRaggedTensorBatch
source§fn clone(&self) -> EnqueueTPUEmbeddingRaggedTensorBatch
fn clone(&self) -> EnqueueTPUEmbeddingRaggedTensorBatch
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 EnqueueTPUEmbeddingRaggedTensorBatch
impl Send for EnqueueTPUEmbeddingRaggedTensorBatch
impl Sync for EnqueueTPUEmbeddingRaggedTensorBatch
impl Unpin for EnqueueTPUEmbeddingRaggedTensorBatch
impl UnwindSafe for EnqueueTPUEmbeddingRaggedTensorBatch
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