pub struct EnqueueTPUEmbeddingSparseTensorBatch { /* private fields */ }
Expand description
Builder for the EnqueueTPUEmbeddingSparseTensorBatch
operation.
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 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>, O2: Into<Output>, O3: Into<Output>>(
&self,
sample_indices: O0,
embedding_indices: O1,
aggregation_weights: O2,
mode_override: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, sample_indices: O0, embedding_indices: O1, aggregation_weights: O2, mode_override: O3, scope: &mut Scope ) -> Result<Operation>
Builds the EnqueueTPUEmbeddingSparseTensorBatch
operation.
sourcepub fn build_instance(
&self,
sample_indices: Vec<Output>,
embedding_indices: Vec<Output>,
aggregation_weights: Vec<Output>,
mode_override: Output,
scope: &mut Scope
) -> Result<EnqueueTPUEmbeddingSparseTensorBatchInst>
pub fn build_instance( &self, sample_indices: Vec<Output>, embedding_indices: Vec<Output>, aggregation_weights: Vec<Output>, mode_override: Output, scope: &mut Scope ) -> Result<EnqueueTPUEmbeddingSparseTensorBatchInst>
Builds a new instance of ‘EnqueueTPUEmbeddingSparseTensorBatch’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for EnqueueTPUEmbeddingSparseTensorBatch
impl Default for EnqueueTPUEmbeddingSparseTensorBatch
source§fn default() -> EnqueueTPUEmbeddingSparseTensorBatch
fn default() -> EnqueueTPUEmbeddingSparseTensorBatch
Returns the “default value” for a type. Read more
Auto 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