pub struct EnqueueTPUEmbeddingSparseTensorBatch { /* private fields */ }
Expand description
EnqueueTPUEmbeddingSparseTensorBatch
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EnqueueTPUEmbeddingSparseTensorBatch
Implementations§
source§impl EnqueueTPUEmbeddingSparseTensorBatch
impl EnqueueTPUEmbeddingSparseTensorBatch
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_indices: &[&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: &[&T0], embedding_indices: &[&T1], aggregation_weights: &[&T2], mode_override: &T3 ) -> Result<()>
Execute enqueue_tpuembedding_sparse_tensor_batch.
Trait Implementations§
source§impl Clone for EnqueueTPUEmbeddingSparseTensorBatch
impl Clone for EnqueueTPUEmbeddingSparseTensorBatch
source§fn clone(&self) -> EnqueueTPUEmbeddingSparseTensorBatch
fn clone(&self) -> EnqueueTPUEmbeddingSparseTensorBatch
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 EnqueueTPUEmbeddingSparseTensorBatch
impl Send for EnqueueTPUEmbeddingSparseTensorBatch
impl Sync for EnqueueTPUEmbeddingSparseTensorBatch
impl Unpin for EnqueueTPUEmbeddingSparseTensorBatch
impl UnwindSafe for EnqueueTPUEmbeddingSparseTensorBatch
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