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