Struct tensorflow::eager::raw_ops::EnqueueTPUEmbeddingSparseBatch
source · pub struct EnqueueTPUEmbeddingSparseBatch { /* private fields */ }
Expand description
EnqueueTPUEmbeddingSparseBatch
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EnqueueTPUEmbeddingSparseBatch
Implementations§
source§impl EnqueueTPUEmbeddingSparseBatch
impl EnqueueTPUEmbeddingSparseBatch
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: &[&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_batch.
Trait Implementations§
source§impl Clone for EnqueueTPUEmbeddingSparseBatch
impl Clone for EnqueueTPUEmbeddingSparseBatch
source§fn clone(&self) -> EnqueueTPUEmbeddingSparseBatch
fn clone(&self) -> EnqueueTPUEmbeddingSparseBatch
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 EnqueueTPUEmbeddingSparseBatch
impl Send for EnqueueTPUEmbeddingSparseBatch
impl Sync for EnqueueTPUEmbeddingSparseBatch
impl Unpin for EnqueueTPUEmbeddingSparseBatch
impl UnwindSafe for EnqueueTPUEmbeddingSparseBatch
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