Struct tensorflow::ops::TPUEmbeddingActivations
source · pub struct TPUEmbeddingActivations { /* private fields */ }
Expand description
Builder for the TPUEmbeddingActivations
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
embedding_variable: O0,
sliced_activations: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, embedding_variable: O0, sliced_activations: O1, scope: &mut Scope ) -> Result<Operation>
Builds the TPUEmbeddingActivations
operation.
sourcepub fn build_instance(
&self,
embedding_variable: Output,
sliced_activations: Output,
scope: &mut Scope
) -> Result<TPUEmbeddingActivationsInst>
pub fn build_instance( &self, embedding_variable: Output, sliced_activations: Output, scope: &mut Scope ) -> Result<TPUEmbeddingActivationsInst>
Builds a new instance of ‘TPUEmbeddingActivations’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for TPUEmbeddingActivations
impl Debug for TPUEmbeddingActivations
source§impl Default for TPUEmbeddingActivations
impl Default for TPUEmbeddingActivations
source§fn default() -> TPUEmbeddingActivations
fn default() -> TPUEmbeddingActivations
Returns the “default value” for a type. Read more
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